Browse Source

template from correction

kevin tessier 5 years ago
parent
commit
a2c757fba6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      user/themes/lecampus/templates/forms/fields/radio/radio.html.twig

+ 1 - 1
user/themes/lecampus/templates/forms/fields/radio/radio.html.twig

@@ -19,7 +19,7 @@
                    {% if required %}required="required"{% endif %}
             />
             <i class="form-icon"></i>
-            {{ text|t }}
+            {% if grav.twig.twig.filters['tu'] is defined %}{{ text|tu|raw }}{% else %}{{ text }}{% endif %}
             </label>
         </div>
     {% endfor %}