8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dc826 commit 2ee24a0Copy full SHA for 2ee24a0
src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
@@ -399,7 +399,7 @@
399
{%- for attrname, attrvalue in attr -%}
400
{{- " " -}}
401
{%- if attrname in ['placeholder', 'title'] -%}
402
- {{- attrname }}="{{ translation_domain is same as(false) ? attrvalue : attrvalue|trans({}, translation_domain) }}"
+ {{- attrname }}="{{ translation_domain is same as(false) or attrvalue is null ? attrvalue : attrvalue|trans({}, translation_domain) }}"
403
{%- elseif attrvalue is same as(true) -%}
404
{{- attrname }}="{{ attrname }}"
405
{%- elseif attrvalue is not same as(false) -%}
0 commit comments