X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/58242917a50ec39071529953e77343fd3eb6dda0..3fbafb8cb9265b9a5dcde57a10fd4b5ae030f1ff:/Resources/views/form/form_div_layout.html.twig?ds=sidebyside diff --git a/Resources/views/form/form_div_layout.html.twig b/Resources/views/form/form_div_layout.html.twig index 7f73c51..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 -%} -
+
{{- form_label(form) -}} -
+
{{- form_widget(form) -}} {%- if errors|length > 0 -%} -
+
{{- form_errors(form) -}}
{%- endif -%} -
+
{%- endblock form_row -%} @@ -337,6 +337,11 @@ {%- if form_method != method -%} {%- endif -%} + {%- if errors|length > 0 -%} +
+ {{- form_errors(form) -}} +
+ {%- endif -%} {%- endblock form_start -%} {%- block form_end -%}