diff --git a/Resources/views/bootstrap_3_tab_layout.html.twig b/Resources/views/bootstrap_3_tab_layout.html.twig index 30b74f6..24f069d 100644 --- a/Resources/views/bootstrap_3_tab_layout.html.twig +++ b/Resources/views/bootstrap_3_tab_layout.html.twig @@ -1,9 +1,13 @@ {% block translations_row %} - {{ form_label(form) }} +
+ {{ form_label(form) }} - {{ block('nav_tabs') }} + {{ block('nav_tabs') }} - {{ block('tab_contents') }} + {{ block('tab_contents') }} + + {{ form_errors(form) }} +
{% endblock %} {% block nav_tabs %} @@ -17,7 +21,7 @@ {% block nav_tab %}
  • + class="{% if not child.vars.valid %}has-error{% endif %}"> {{ form_label(child) }}