File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/Symfony/Bridge/Twig/Resources/views/Form Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 54
54
{% block choice_widget_collapsed -%}
55
55
{% if required and empty_value is none and not empty_value_in_choices and not multiple -%}
56
56
{% set required = false %}
57
- {% endif %}
57
+ {%- endif - %}
58
58
<select {{ block (' widget_attributes' ) }}{% if multiple %} multiple =" multiple" {% endif %}>
59
59
{% if empty_value is not none -%}
60
60
<option value =" " {% if required and value is empty %} selected =" selected" {% endif %}>{{ empty_value | trans({}, translation_domain ) }}</option >
95
95
{% block datetime_widget -%}
96
96
{% if widget == ' single_text' %}
97
97
{{- block (' form_widget_simple' ) -}}
98
- {% else %}
98
+ {% else - %}
99
99
<div {{ block (' widget_container_attributes' ) }}>
100
100
{{- form_errors(form .date ) -}}
101
101
{{- form_errors(form .time ) -}}
102
102
{{- form_widget(form .date ) -}}
103
103
{{- form_widget(form .time ) -}}
104
104
</div >
105
- {% endif %}
105
+ {%- endif %}
106
106
{%- endblock datetime_widget %}
107
107
108
108
{% block date_widget -%}
132
132
133
133
{% block number_widget -%}
134
134
{# type="number" doesn't work with floats #}
135
- {% set type = type | default (' text' ) %}
135
+ {%- set type = type | default (' text' ) %}
136
136
{{- block (' form_widget_simple' ) -}}
137
137
{%- endblock number_widget %}
138
138
You can’t perform that action at this time.
0 commit comments