Also float the recipe list tag-selection form to the right.
</span><br />
{% endif %}
</p>
- <form action="add_tag" method="get">
+ <form action="add_tag" method="post">
<input type="hidden" name="name" value="{{ recipe.name }}"/>
<input type="text" name="tag" value=""/>
<input type="submit" value="Add tag" />
</form>
- <form action="remove_tag" method="get">
+ <form action="remove_tag" method="post">
<input type="hidden" name="name" value="{{ recipe.name }}"/>
<input type="text" name="tag" value=""/>
<input type="submit" value="Remove tag" />
{% endblock %}
{% block content %}
- <form action="">
+ <form action="" method="get" style="float:right;">
<select name="tag" size="5" multiple="multiple">
{% for tag in cookbook.tags() %}
<option value="{{ tag }}">{{ tag }}</option>
{% endfor %}
- </select>
+ </select><br />
<input type="submit" value="Show only selected tags" />
</form>
<ul id="recipe-list">