diff options
author | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2014-02-12 20:05:51 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2014-02-12 20:05:51 +0100 |
commit | 68268c01995d2136e4c04c4e8c650e7d0a4eaca2 (patch) | |
tree | 20dcbe7f9238c088dbf188ae997e81f38b2bb266 /themes/courgette/edit-tags.twig | |
parent | 5966d2c2d3f30ab7b4fdbaf3bf3176532118c0a1 (diff) | |
parent | 58f6269f36ae719edcc79139ef5e808de12d4a8e (diff) | |
download | wallabag-68268c01995d2136e4c04c4e8c650e7d0a4eaca2.tar.gz wallabag-68268c01995d2136e4c04c4e8c650e7d0a4eaca2.tar.zst wallabag-68268c01995d2136e4c04c4e8c650e7d0a4eaca2.zip |
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
Diffstat (limited to 'themes/courgette/edit-tags.twig')
-rw-r--r-- | themes/courgette/edit-tags.twig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/courgette/edit-tags.twig b/themes/courgette/edit-tags.twig new file mode 100644 index 00000000..bcddbe46 --- /dev/null +++ b/themes/courgette/edit-tags.twig | |||
@@ -0,0 +1,20 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}edit tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | {% if tags is empty %} | ||
8 | <em>no tags</em> | ||
9 | {% endif %} | ||
10 | <ul class='tag-list'> | ||
11 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | ||
12 | </ul> | ||
13 | <form method="post" action="./?action=add_tag" class="tagForm"> | ||
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="submit" value="Tag" /> | ||
18 | </form> | ||
19 | <a class="back link" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | ||
20 | {% endblock %} | ||