aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-19 11:46:21 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-08-22 12:40:48 +0200
commit7244d6cb61912b80341595c56cc22d9bb56e6251 (patch)
treefdb958dd7a798ec52c013edd75df9e4233c08934 /src/Wallabag/CoreBundle/Resources/views/themes/material/Tag
parent109d67dbb16478f927c3d6a46ab61ea9994aafae (diff)
downloadwallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.tar.gz
wallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.tar.zst
wallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.zip
assign tags to an entry
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Tag')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig
new file mode 100644
index 00000000..0b5a530d
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig
@@ -0,0 +1,15 @@
1<form name="tag" method="post" action="{{ path('new_tag', { 'entry': entry.id })}}">
2
3 {% if form_errors(form) %}
4 <span class="black-text">{{ form_errors(form) }}</span>
5 {% endif %}
6
7 {% if form_errors(form.label) %}
8 <span class="black-text">{{ form_errors(form.label) }}</span>
9 {% endif %}
10
11 {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}
12 {{ form_widget(form.save, { 'attr': {'class': 'btn waves-effect waves-light'}, 'label': 'add tag' }) }}
13
14 <div class="hidden">{{ form_rest(form) }}</div>
15</form>