]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig
More translations
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Tag / new_form.html.twig
index 0534a4cc4c9b834028fbce373775e7aceebbfab8..793103078b485920b037f8a24f8d359915b55b71 100644 (file)
@@ -1,14 +1,13 @@
 <form name="tag" method="post" action="{{ path('new_tag', { 'entry': entry.id })}}">
+    {% if form_errors(form) %}
+        <span class="black-text">{{ form_errors(form) }}</span>
+    {% endif %}
 
-        {% if form_errors(form) %}
-            <span class="black-text">{{ form_errors(form) }}</span>
-        {% endif %}
+    {% if form_errors(form.label) %}
+        <span class="black-text">{{ form_errors(form.label) }}</span>
+    {% endif %}
 
-        {% if form_errors(form.label) %}
-            <span class="black-text">{{ form_errors(form.label) }}</span>
-        {% endif %}
-
-        {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}
+    {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}
 
     <div class="hidden">{{ form_rest(form) }}</div>
 </form>