1 {# vendor/symfony/twig-bridge/Resources/views/Form/form_div_layout.html.twig #}
2 {% use "form_div_layout.html.twig" %}
5 {%- set widget_attr = {} -%}
6 {%- if help is not empty -%}
7 {%- set widget_attr = {attr: {'aria-describedby': id ~"_help"}} -%}
9 <div{% with {attr: row_attr} %}{{ block('attributes') }}{% endwith %}>
10 {{- form_label(form) -}}
12 {{- form_widget(form, widget_attr) -}}
13 {{- form_errors(form) -}}
14 {{- form_help(form) -}}
17 {%- endblock form_row -%}