]>
Commit | Line | Data |
---|---|---|
943ac3c7 NL |
1 | {% extends "layout.twig" %} |
2 | {% block title %}edit tags{% endblock %} | |
3 | {% block menu %} | |
4 | {% include '_menu.twig' %} | |
5 | {% endblock %} | |
6 | {% block content %} | |
032e0ca1 MR |
7 | <div id="article"> |
8 | <h2>{{ entry.title|raw }}</21> | |
9 | </div> | |
943ac3c7 NL |
10 | {% if tags is empty %} |
11 | <div class="notags">no tags</div> | |
12 | {% endif %} | |
13 | <ul> | |
14 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | |
15 | </ul> | |
16 | <form method="post" action="./?action=add_tag"> | |
943ac3c7 | 17 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> |
032e0ca1 | 18 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> |
943ac3c7 | 19 | <input type="submit" value="Tag" /> |
032e0ca1 | 20 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> |
943ac3c7 NL |
21 | </form> |
22 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | |
23 | {% endblock %} |