Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cee6a52

Browse files
committed
Minor fixes
1 parent 351effd commit cee6a52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Bridge/Twig/Resources/views/Form/bootstrap_4_layout.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
{%- if with_invert %}{{ form_widget(form.invert) }}{% endif -%}
7575
</div>
7676
{%- endif -%}
77-
{%- endblock dateinterval_widget -%}
77+
{%- endblock dateinterval_widget %}
7878

7979
{% block percent_widget -%}
8080
<div class="input-group{{ not valid ? ' form-control is-invalid' }}">
@@ -164,10 +164,10 @@
164164
{%- set element = 'legend' -%}
165165
{%- set label_attr = label_attr|merge({class: (label_attr.class|default('') ~ ' col-form-legend')|trim}) -%}
166166
{%- 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}) -%}
168168
{%- endif -%}
169169
{% 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}) %}
171171
{%- endif -%}
172172
{% if label is empty -%}
173173
{%- if label_format is not empty -%}

0 commit comments

Comments
 (0)