Updated tag edit page

This commit is contained in:
William Theaker 2014-01-02 21:04:56 -05:00
parent 2eb111a300
commit b1bfd4cb0c

View File

@ -11,10 +11,10 @@ no tags
{% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %} {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&amp;tag_id={{ tag.id }}&amp;id={{ entry_id }}">✘</a></li>{% endfor %}
</ul> </ul>
<form method="post" action="./?action=add_tag"> <form method="post" action="./?action=add_tag">
<label for="value">New tags: </label><input type="text" id="value" name="value" required="required" /> <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" />
<p>{% trans "you can type several tags, separated by comma" %}</p> <p>{% trans "You can enter multiple tags, separated by commas." %}</p>
<input type="hidden" name="entry_id" value="{{ entry_id }}" /> <input type="hidden" name="entry_id" value="{{ entry_id }}" />
<input type="submit" value="add tags" /> <input type="submit" value="Tag" />
</form> </form>
<a href="./?view=view&id={{ entry_id }}">{% trans "back to the article" %}</a> <a href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a>
{% endblock %} {% endblock %}