diff options
Diffstat (limited to 'themes/baggy/edit-tags.twig')
-rw-r--r-- | themes/baggy/edit-tags.twig | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/themes/baggy/edit-tags.twig b/themes/baggy/edit-tags.twig index 9f11a2c3..9e9012ee 100644 --- a/themes/baggy/edit-tags.twig +++ b/themes/baggy/edit-tags.twig | |||
@@ -4,6 +4,9 @@ | |||
4 | {% include '_menu.twig' %} | 4 | {% include '_menu.twig' %} |
5 | {% endblock %} | 5 | {% endblock %} |
6 | {% block content %} | 6 | {% block content %} |
7 | <div id="article"> | ||
8 | <h2>{{ entry.title|raw }}</21> | ||
9 | </div> | ||
7 | {% if tags is empty %} | 10 | {% if tags is empty %} |
8 | <div class="notags">no tags</div> | 11 | <div class="notags">no tags</div> |
9 | {% endif %} | 12 | {% endif %} |
@@ -11,10 +14,10 @@ | |||
11 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | 14 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} |
12 | </ul> | 15 | </ul> |
13 | <form method="post" action="./?action=add_tag"> | 16 | <form method="post" action="./?action=add_tag"> |
14 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
15 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
16 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | 17 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> |
18 | <label for="value">Add tags: </label><input type="text" placeholder="interview, editorial, video" id="value" name="value" required="required" /> | ||
17 | <input type="submit" value="Tag" /> | 19 | <input type="submit" value="Tag" /> |
20 | <p>{% trans "You can enter multiple tags, separated by commas." %}</p> | ||
18 | </form> | 21 | </form> |
19 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | 22 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> |
20 | {% endblock %} | 23 | {% endblock %} |