File tree 1 file changed +2
-2
lines changed
Filter options
src/Symfony/Bridge/Twig/Resources/views/Form
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change 79
79
{{- block (' choice_widget_options' ) -}}
80
80
</optgroup >
81
81
{%- else -%}
82
- <option value =" {{ choice .value }}" {% if choice .attr %} {% with { attr : choice .attr } %}{{ block (' attributes' ) }}{% endwith %}{% endif %}{% if choice is selectedchoice(value ) %} selected =" selected" {% endif %}>{{ choice_translation_domain is same as (false ) ? choice .label : choice .label | trans({}, choice_translation_domain ) }}</option >
82
+ <option value =" {{ choice .value }}" {% if choice .attr %}{% with { attr : choice .attr } %}{{ block (' attributes' ) }}{% endwith %}{% endif %}{% if choice is selectedchoice(value ) %} selected =" selected" {% endif %}>{{ choice_translation_domain is same as (false ) ? choice .label : choice .label | trans({}, choice_translation_domain ) }}</option >
83
83
{%- endif -%}
84
84
{% endfor %}
85
85
{%- endblock choice_widget_options -%}
259
259
{% set label = name | humanize %}
260
260
{%- endif -%}
261
261
{%- endif -%}
262
- <label {% if label_attr %} {% with { attr : label_attr } %}{{ block (' attributes' ) }}{% endwith %}{% endif %}>{{ translation_domain is same as (false ) ? label : label | trans({}, translation_domain ) }}</label >
262
+ <label {% if label_attr %}{% with { attr : label_attr } %}{{ block (' attributes' ) }}{% endwith %}{% endif %}>{{ translation_domain is same as (false ) ? label : label | trans({}, translation_domain ) }}</label >
263
263
{%- endif -%}
264
264
{%- endblock form_label -%}
265
265
You can’t perform that action at this time.
0 commit comments