X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b8024b225dacfeb78cdc7bb6277db8d568a608e1..849cc2e2bdd1b0c01d32e79d2d8d2fe862e89cd1:/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 34af91e..9270f0e 100644
--- 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) -%}
-                {{- label -}}
+				{%- if label_html is same as(false) -%}
+					{{- label -}}
+				{%- else -%}
+					{{- label|raw -}}
+				{%- endif -%}
             {%- 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 -%}