We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e735d commit 7b3cf37Copy full SHA for 7b3cf37
Resources/views/Form/bootstrap_4_layout.html.twig
@@ -72,9 +72,9 @@
72
{% block form_label -%}
73
{%- if expanded is defined and expanded -%}
74
{%- set element = 'legend' -%}
75
- {%- set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' col-form-legend')|trim}) -%}
+ {%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-legend')|trim}) -%}
76
{%- endif -%}
77
- {%- set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' form-control-label')|trim}) -%}
+ {%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' form-control-label')|trim}) -%}
78
{{- parent() -}}
79
{%- endblock form_label %}
80
0 commit comments