diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/baggy/edit-tags.twig')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/themes/baggy/edit-tags.twig | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/edit-tags.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/edit-tags.twig new file mode 100755 index 00000000..15f15560 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/edit-tags.twig | |||
@@ -0,0 +1,29 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}edit tags{% endblock %} | ||
3 | {% block menu %} | ||
4 | {% include '_menu.twig' %} | ||
5 | {% endblock %} | ||
6 | {% block content %} | ||
7 | |||
8 | <script src="{{ poche_url }}themes/_global/js/jquery-ui-1.10.4.custom.min.js"></script> | ||
9 | <script src="{{ poche_url }}themes/_global/js/autoCompleteTags.js"></script> | ||
10 | <link rel="stylesheet" href="{{ poche_url }}themes/_global/css/jquery-ui-1.10.4.custom.min.css" media="all"> | ||
11 | |||
12 | <div id="article"> | ||
13 | <h2>{{ entry.title|raw }}</21> | ||
14 | </div> | ||
15 | {% if tags is empty %} | ||
16 | <div class="notags">{% trans "no tags" %}</div> | ||
17 | {% endif %} | ||
18 | <ul> | ||
19 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | ||
20 | </ul> | ||
21 | <form method="post" action="./?action=add_tag"> | ||
22 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | ||
23 | <label for="value">{% trans "Add tags:" %}</label><input type="text" placeholder="{% trans "interview" %}, {% trans "editorial" %}, {% trans "video" %}" id="value" name="value" required="required" /> | ||
24 | <input type="submit" value="Tag" /> | ||
25 | <p>{% trans "Start typing for auto complete." %}<br> | ||
26 | {% trans "You can enter multiple tags, separated by commas." %}</p> | ||
27 | </form> | ||
28 | <a class="icon icon-reply return" href="./?view=view&id={{ entry_id }}">{% trans "return to article" %}</a> | ||
29 | {% endblock %} | ||