Skip to content

Commit 7b3cf37

Browse files
Removed unneeded wrapping quotes around a Twig key
1 parent 46e735d commit 7b3cf37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/Form/bootstrap_4_layout.html.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
{% block form_label -%}
7373
{%- if expanded is defined and expanded -%}
7474
{%- set element = 'legend' -%}
75-
{%- set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' col-form-legend')|trim}) -%}
75+
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-legend')|trim}) -%}
7676
{%- endif -%}
77-
{%- set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' form-control-label')|trim}) -%}
77+
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' form-control-label')|trim}) -%}
7878
{{- parent() -}}
7979
{%- endblock form_label %}
8080

0 commit comments

Comments
 (0)