]> git.agnieray.net Git - galette.git/commitdiff
Display form elements example as HTML (fix member age display)
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 19 Nov 2023 08:55:08 +0000 (09:55 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 19 Nov 2023 08:55:08 +0000 (09:55 +0100)
galette/templates/default/components/forms/input.html.twig

index d16512a48cfb3d425a80e166a95c228b5861b2a2..d33f4a77a7530c74350cc914dd94007f5548982e 100644 (file)
@@ -77,7 +77,7 @@
     </div>
     {% endif %}
     {% if (tip is defined and tip != '') and (type is defined and type != 'text') %}<i class="circular inverted primary small icon info tooltip" title="{{ tip }}" aria-hidden="true"></i>{% endif %}
-    {% if example is defined %}<span class="exemple">{{ example }}</span>{% endif %}
+    {% if example is defined %}<span class="exemple">{{ example|raw }}</span>{% endif %}
 {% if notag is not defined %}
 </div>
 {% endif %}