Removed unneeded wrapping quotes around a Twig key

This commit is contained in:
Javier Eguiluz 2017-09-25 17:12:23 +02:00 committed by GitHub
parent 709f134dc8
commit f12e5887ff

View File

@ -72,9 +72,9 @@
{% block form_label -%}
{%- if expanded is defined and expanded -%}
{%- set element = 'legend' -%}
{%- 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}) -%}
{%- endif -%}
{%- 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}) -%}
{{- parent() -}}
{%- endblock form_label %}