8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5754846 commit 7ab1b00Copy full SHA for 7ab1b00
src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
@@ -325,7 +325,7 @@
325
{%- if help is not empty -%}
326
{%- set widget_attr = {attr: {'aria-describedby': id ~"_help"}} -%}
327
{%- endif -%}
328
- <div>
+ <div {% with {attr: row_attr|default({})} %}{{ block('attributes') }}{% endwith %}>
329
{{- form_label(form) -}}
330
{{- form_errors(form) -}}
331
{{- form_widget(form, widget_attr) -}}
@@ -334,7 +334,7 @@
334
{%- endblock form_row -%}
335
336
{%- block button_row -%}
337
338
{{- form_widget(form) -}}
339
</div>
340
{%- endblock button_row -%}
0 commit comments