Removed unneeded wrapping quotes around a Twig key

This commit is contained in:
Javier Eguiluz 2017-09-25 17:11:48 +02:00 committed by GitHub
parent 4222d54a53
commit 709f134dc8

View File

@ -7,7 +7,7 @@
<div class="{{ block('form_label_class') }}"></div>
{%- else -%}
{%- if expanded is not defined or not expanded -%}
{%- set label_attr = label_attr|merge({'class': (label_attr.class|default('') ~ ' col-form-label')|trim}) -%}
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-label')|trim}) -%}
{%- endif -%}
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' ' ~ block('form_label_class'))|trim}) -%}
{{- parent() -}}