File tree 2 files changed +3
-2
lines changed
Bridge/Twig/Resources/views/Form
Component/Form/Extension/Core/Type 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 325
325
{%- if help is not empty -%}
326
326
{%- set widget_attr = {attr : {' aria-describedby' : id ~" _help" }} -%}
327
327
{%- endif -%}
328
- <div >
328
+ <div {% with { attr : row_attr } %}{{ block ( ' attributes ' ) }}{% endwith %} >
329
329
{{- form_label(form ) -}}
330
330
{{- form_errors(form ) -}}
331
331
{{- form_widget(form , widget_attr ) -}}
334
334
{%- endblock form_row -%}
335
335
336
336
{%- block button_row -%}
337
- <div >
337
+ <div {% with { attr : row_attr } %}{{ block ( ' attributes<
921E
/span>' ) }}{% endwith %} >
338
338
{{- form_widget(form ) -}}
339
339
</div >
340
340
{%- endblock button_row -%}
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ public function configureOptions(OptionsResolver $resolver)
183
183
// section 4.2., empty URIs are considered same-document references
184
184
'action ' => '' ,
185
185
'attr ' => [],
186
+ 'row_attr ' => [],
186
187
'post_max_size_message ' => 'The uploaded file was too large. Please try to upload a smaller file. ' ,
187
188
'upload_max_size_message ' => $ uploadMaxSizeMessage , // internal
188
189
'allow_file_upload ' => false ,
You can’t perform that action at this time.
0 commit comments