diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Tag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Tag/new_form.html.twig | 15 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig | 13 |
2 files changed, 0 insertions, 28 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Tag/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/Tag/new_form.html.twig deleted file mode 100644 index 0b5a530d..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/Tag/new_form.html.twig +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
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> | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig deleted file mode 100644 index c2a461b8..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/Tag/tags.html.twig +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title "Tags" %} | ||
4 | |||
5 | {% block content %} | ||
6 | {% if tags is empty %} | ||
7 | <div class="messages warning"><p>{% trans %}No tags found.{% endtrans %}</p></div> | ||
8 | {% else %} | ||
9 | {% for tag in tags %} | ||
10 | {{tag.label}} | ||
11 | {% endfor %} | ||
12 | {% endif %} | ||
13 | {% endblock %} | ||