From a2c757fba6f6ae569ec830bdfe3ca44ffcfea1a9 Mon Sep 17 00:00:00 2001 From: kevin tessier Date: Tue, 4 Jun 2019 12:34:32 +0200 Subject: [PATCH] template from correction --- .../lecampus/templates/forms/fields/radio/radio.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/themes/lecampus/templates/forms/fields/radio/radio.html.twig b/user/themes/lecampus/templates/forms/fields/radio/radio.html.twig index 1e521fa..456b5ea 100644 --- a/user/themes/lecampus/templates/forms/fields/radio/radio.html.twig +++ b/user/themes/lecampus/templates/forms/fields/radio/radio.html.twig @@ -19,7 +19,7 @@ {% if required %}required="required"{% endif %} /> - {{ text|t }} + {% if grav.twig.twig.filters['tu'] is defined %}{{ text|tu|raw }}{% else %}{{ text }}{% endif %} {% endfor %}