{# vendor/symfony/twig-bridge/Resources/views/Form/form_div_layout.html.twig #}
{% use "form_div_layout.html.twig" %}

{%- block form_row -%}
    {%- set widget_attr = {} -%}
    {%- if help is not empty -%}
        {%- set widget_attr = {attr: {'aria-describedby': id ~"_help"}} -%}
    {%- endif -%}
    <div{% with {attr: row_attr} %}{{ block('attributes') }}{% endwith %}>
        {{- form_label(form) -}}
		<div>
			{{- form_widget(form, widget_attr) -}}
			{{- form_errors(form) -}}
			{{- form_help(form) -}}
		</div>
    </div>
{%- endblock form_row -%}
