X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/a2fe226a18cbc0532f2db322b51e0531b753798e..acd361c763bddfdaafdd57df0ca5a7aaf4a1da90:/Resources/views/form/form_div_layout.html.twig diff --git a/Resources/views/form/form_div_layout.html.twig b/Resources/views/form/form_div_layout.html.twig index dfc79b3..34af91e 100644 --- a/Resources/views/form/form_div_layout.html.twig +++ b/Resources/views/form/form_div_layout.html.twig @@ -294,16 +294,16 @@ {%- endblock repeated_row -%} {%- block form_row -%} - <div> + <div class="row"> {{- form_label(form) -}} - <section> + <div> {{- form_widget(form) -}} {%- if errors|length > 0 -%} - <div class="error"> + <div class="message error"> {{- form_errors(form) -}} </div> {%- endif -%} - </section> + </div> </div> {%- endblock form_row -%} @@ -338,10 +338,8 @@ <input type="hidden" name="_method" value="{{ method }}" /> {%- endif -%} {%- if errors|length > 0 -%} - <header> - <div class="error"> - {{- form_errors(form) -}} - </div> + <header class="message error"> + {{- form_errors(form) -}} </header> {%- endif -%} {%- endblock form_start -%}