File tree 1 file changed +3
-3
lines changed
src/Symfony/Bridge/Twig/Resources/views/Form
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 74
74
{%- if with_invert %}{{ form_widget(form .invert ) }}{% endif -%}
75
75
</div >
76
76
{%- endif -%}
77
- {%- endblock dateinterval_widget - %}
77
+ {%- endblock dateinterval_widget %}
78
78
79
79
{% block percent_widget -%}
80
80
<div class =" input-group{{ not valid ? ' form-control is-invalid' }}" >
164
164
{%- set element = ' legend' -%}
165
165
{%- set label_attr = label_attr | merge ({class : (label_attr .class |default (' ' ) ~ ' col-form-legend' )|trim }) -%}
166
166
{%- else -%}
167
- {%- set label_attr = label_attr | merge ({' for' : id , class : (label_attr .class |default (' ' ) ~ ' form-control-label' )|trim }) -%}
167
+ {%- set label_attr = label_attr | merge ({for : id , class : (label_attr .class |default (' ' ) ~ ' form-control-label' )|trim }) -%}
168
168
{%- endif -%}
169
169
{% if required -%}
170
- {% set label_attr = label_attr | merge ({' class' : (label_attr .class |default (' ' ) ~ ' required' )|trim }) %}
170
+ {% set label_attr = label_attr | merge ({class : (label_attr .class |default (' ' ) ~ ' required' )|trim }) %}
171
171
{%- endif -%}
172
172
{% if label is empty -%}
173
173
{%- if label_format is not empty -%}
You can’t perform that action at this time.
0 commit comments