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

Skip to content

Commit 8c4911f

Browse files
committed
Removed the extra spaces.
1 parent c2a0947 commit 8c4911f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
{%- endif -%}
5858
<select {{ block('widget_attributes') }}{% if multiple %} multiple="multiple"{% endif %}>
5959
{%- if placeholder is not none -%}
60-
<option value=""{% if required and value is empty %} selected="selected"{% endif %}>{{ placeholder != '' ? (translation_domain is same as (false) ? placeholder : placeholder|trans({}, translation_domain)) }}</option>
60+
<option value=""{% if required and value is empty %} selected="selected"{% endif %}>{{ placeholder != '' ? (translation_domain is same as(false) ? placeholder : placeholder|trans({}, translation_domain)) }}</option>
6161
{%- endif -%}
6262
{%- if preferred_choices|length > 0 -%}
6363
{% set options = preferred_choices %}
@@ -324,7 +324,7 @@
324324
{%- for attrname, attrvalue in attr -%}
325325
{{- " " -}}
326326
{%- if attrname in ['placeholder', 'title'] -%}
327-
{{- attrname }}="{{ translation_domain is same as (false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
327+
{{- attrname }}="{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
328328
{%- elseif attrvalue is same as(true) -%}
329329
{{- attrname }}="{{ attrname }}"
330330
{%- elseif attrvalue is not same as(false) -%}
@@ -338,7 +338,7 @@
338338
{%- for attrname, attrvalue in attr -%}
339339
{{- " " -}}
340340
{%- if attrname in ['placeholder', 'title'] -%}
341-
{{- attrname }}="{{ translation_domain is same as (false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
341+
{{- attrname }}="{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
342342
{%- elseif attrvalue is same as(true) -%}
343343
{{- attrname }}="{{ attrname }}"
344344
{%- elseif attrvalue is not same as(false) -%}
@@ -352,7 +352,7 @@
352352
{%- for attrname, attrvalue in attr -%}
353353
{{- " " -}}
354354
{%- if attrname in ['placeholder', 'title'] -%}
355-
{{- attrname }}="{{ translation_domain is same as (false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
355+
{{- attrname }}="{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
356356
{%- elseif attrvalue is same as(true) -%}
357357
{{- attrname }}="{{ attrname }}"
358358
{%- elseif attrvalue is not same as(false) -%}
@@ -365,7 +365,7 @@
365365
{%- for attrname, attrvalue in attr -%}
366366
{{- " " -}}
367367
{%- if attrname in ['placeholder', 'title'] -%}
368-
{{- attrname }}="{{ translation_domain is same as (false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
368+
{{- attrname }}="{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
369369
{%- elseif attrvalue is same as(true) -%}
370370
{{- attrname }}="{{ attrname }}"
371371
{%- elseif attrvalue is not same as(false) -%}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
{%- endif -%}
151151
<select {{ block('widget_attributes') }}{% if multiple %} multiple="multiple" data-customforms="disabled"{% endif %}>
152152
{% if placeholder is not none -%}
153-
<option value=""{% if required and value is empty %} selected="selected"{% endif %}>{{ translation_domain is same as (false) ? placeholder : placeholder|trans({}, translation_domain) }}</option>
153+
<option value=""{% if required and value is empty %} selected="selected"{% endif %}>{{ translation_domain is same as(false) ? placeholder : placeholder|trans({}, translation_domain) }}</option>
154154
{%- endif %}
155155
{%- if preferred_choices|length > 0 -%}
156156
{% set options = preferred_choices %}

0 commit comments

Comments
 (0)