Skip to content

Commit fa72a54

Browse files
committed
Replaced same with same as
1 parent df17a0d commit fa72a54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Resources/views/Form/bootstrap.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,12 @@
217217
{% spaceless %}
218218
{% for group_label, choice in options %}
219219
{% if choice is iterable %}
220-
<optgroup label="{{ choice_translation_domain is defined ? (choice_translation_domain is same(false) ? group_label : group_label|trans({}, choice_translation_domain)) : group_label|trans({}, translation_domain) }}">
220+
<optgroup label="{{ choice_translation_domain is defined ? (choice_translation_domain is same as (false) ? group_label : group_label|trans({}, choice_translation_domain)) : group_label|trans({}, translation_domain) }}">
221221
{% set options = choice %}
222222
{{ block('choice_widget_options') }}
223223
</optgroup>
224224
{% else %}
225-
<option value="{{ choice.value }}"{% if choice is selectedchoice(value) %} selected="selected"{% endif %}>{{ choice_translation_domain is defined ? (choice_translation_domain is same(false) ? choice.label : choice.label|trans({}, choice_translation_domain)) : choice.label|trans({}, translation_domain) }}</option>
225+
<option value="{{ choice.value }}"{% if choice is selectedchoice(value) %} selected="selected"{% endif %}>{{ choice_translation_domain is defined ? (choice_translation_domain is same as (false) ? choice.label : choice.label|trans({}, choice_translation_domain)) : choice.label|trans({}, translation_domain) }}</option>
226226
{% endif %}
227227
{% endfor %}
228228
{% endspaceless %}

0 commit comments

Comments
 (0)