File tree 3 files changed +3
-5
lines changed
Twig/Resources/views/Form
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 34
34
"symfony/http-kernel" : " ^5.0|^6.0" ,
35
35
"symfony/messenger" : " ^4.4|^5.0|^6.0" ,
36
36
"symfony/doctrine-messenger" : " ^5.1|^6.0" ,
37
- "symfony/phpunit-bridge" : " ^4.4|^5.4|^6.0" ,
38
37
"symfony/property-access" : " ^4.4|^5.0|^6.0" ,
39
38
"symfony/property-info" : " ^5.0|^6.0" ,
40
39
"symfony/proxy-manager-bridge" : " ^4.4|^5.0|^6.0" ,
Original file line number Diff line number Diff line change 101
101
{%- endif -%}
102
102
{%- endif -%}
103
103
<label {% with { attr : label_attr } %}{{ block (' attributes' ) }}{% endwith %}>
104
- {{- widget | raw } }
105
- {%- if label is not same as (false ) -%}
104
+ {#- if statement must be kept on the same line, to force the space between widget and label -# }
105
+ {{- widget | raw }} {% if label is not same as (false ) -%}
106
106
{%- if translation_domain is same as (false ) -%}
107
107
{%- if label_html is same as (false ) -%}
108
108
{{ label -}}
Original file line number Diff line number Diff line change 66
66
"symfony/property-info" : " ^4.4|^5.0|^6.0" ,
67
67
"symfony/web-link" : " ^4.4|^5.0|^6.0" ,
68
68
"phpdocumentor/reflection-docblock" : " ^3.0|^4.0|^5.0" ,
69
- "twig/twig" : " ^2.10|^3.0" ,
70
- "symfony/phpunit-bridge" : " ^5.3|^6.0"
69
+ "twig/twig" : " ^2.10|^3.0"
71
70
},
72
71
"conflict" : {
73
72
"doctrine/annotations" : " <1.13.1" ,
You can’t perform that action at this time.
0 commit comments