Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6460b8a

Browse files
Remove default row_attr
1 parent 5c9edab commit 6460b8a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@
321321
{%- endblock repeated_row -%}
322322

323323
{%- block form_row -%}
324-
{%- set row_attr = row_attr|default({}) -%}
325324
{%- set widget_attr = {} -%}
326325
{%- if help is not empty -%}
327326
{%- set widget_attr = {attr: {'aria-describedby': id ~"_help"}} -%}
@@ -335,7 +334,6 @@
335334
{%- endblock form_row -%}
336335

337336
{%- block button_row -%}
338-
{%- set row_attr = row_attr|default({}) -%}
339337
<div {% with {attr: row_attr} %}{{ block('attributes') }}{% endwith %}>
340338
{{- form_widget(form) -}}
341339
</div>

0 commit comments

Comments
 (0)