diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-28 13:58:12 +0100 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-01-28 13:58:12 +0100 |
commit | 19f2f11ee810cfd580cc23dabfafa658b5c4e99e (patch) | |
tree | 3403968dc56ea4b40efa266837c37f38408ca4a1 /src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig | |
parent | 9e11bfa4a632374df5b1e6bb380c769b6231225c (diff) | |
download | wallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.tar.gz wallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.tar.zst wallabag-19f2f11ee810cfd580cc23dabfafa658b5c4e99e.zip |
fix themes symlinks
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig b/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig new file mode 100755 index 00000000..c29427e0 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/default/edit-tags.twig | |||
@@ -0,0 +1,35 @@ | |||
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 | <header class="mbm"> | ||
14 | <h1>{{ entry.title|raw }}</h1> | ||
15 | </header> | ||
16 | </div> | ||
17 | |||
18 | {% if tags is empty %} | ||
19 | {% trans "no tags" %} | ||
20 | {% endif %} | ||
21 | <ul> | ||
22 | {% for tag in tags %}<li>{{ tag.value }} <a href="./?action=remove_tag&tag_id={{ tag.id }}&id={{ entry_id }}">✘</a></li>{% endfor %} | ||
23 | </ul> | ||
24 | <form method="post" action="./?action=add_tag" id="editTags"> | ||
25 | <input type="hidden" name="entry_id" value="{{ entry_id }}" /> | ||
26 | <label for="value">{% trans "Add tags:" %}</label> | ||
27 | <input type="text" placeholder="{% trans "interview" %}, {% trans "editorial" %}, {% trans "video" %}" id="value" name="value" required="required" /> | ||
28 | <input type="submit" value="Tag" /> | ||
29 | <p>{% trans "Start typing for auto complete." %}<br> | ||
30 | {% trans "You can enter multiple tags, separated by commas." %}</p> | ||
31 | |||
32 | </form> | ||
33 | <br> | ||
34 | <a href="./?view=view&id={{ entry_id }}">« {% trans "return to article" %}</a> | ||
35 | {% endblock %} | ||