Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename EntityRepository to Repository
[airbundle]
/
Resources
/
views
/
form
/
form_div_layout.html.twig
diff --git
a/Resources/views/form/form_div_layout.html.twig
b/Resources/views/form/form_div_layout.html.twig
index 34af91ef39b57b7196fa67bd340de17c6f7ad527..9270f0e08e6e1d2894d30b4c9a233e55d8a8725e 100644
(file)
--- a/
Resources/views/form/form_div_layout.html.twig
+++ b/
Resources/views/form/form_div_layout.html.twig
@@
-273,9
+273,17
@@
{%- endif -%}
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>
{%- if translation_domain is same as(false) -%}
{%- endif -%}
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>
{%- if translation_domain is same as(false) -%}
- {{- label -}}
+ {%- if label_html is same as(false) -%}
+ {{- label -}}
+ {%- else -%}
+ {{- label|raw -}}
+ {%- endif -%}
{%- else -%}
{%- else -%}
- {{- label|trans({}, translation_domain) -}}
+ {%- if label_html is same as(false) -%}
+ {{- label|trans({}, translation_domain) -}}
+ {%- else -%}
+ {{- label|trans({}, translation_domain)|raw -}}
+ {%- endif -%}
{%- endif -%}
</{{ element|default('label') }}>
{%- endif -%}
{%- endif -%}
</{{ element|default('label') }}>
{%- endif -%}