{% use "form_div_layout.html.twig" %} {%- block form_row -%} {{- form_label(form) -}} {{- form_errors(form) -}} {{- form_widget(form) -}} {%- endblock form_row -%} {%- block button_row -%} {{- form_widget(form) -}} {%- endblock button_row -%} {%- block hidden_row -%} {{- form_widget(form) -}} {%- endblock hidden_row -%} {%- block form_widget_compound -%} {%- if form is rootform and errors|length > 0 -%} {%- endif -%} {{- block('form_rows') -}} {{- form_rest(form) -}}
{{- form_errors(form) -}}
{%- endblock form_widget_compound -%}