Browse Source

Allow HTML in form help text

master
David Winterbottom 13 years ago
parent
commit
cb96b6701b
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      oscar/templates/oscar/partials/form_fields.html

+ 2
- 1
oscar/templates/oscar/partials/form_fields.html View File

@@ -15,7 +15,8 @@
15 15
             {% endfor %}
16 16
             {% if field.help_text %}
17 17
                 <span class='help-block'>
18
-                    {{ field.help_text }}
18
+					{# We allow HTML within form help fields #}
19
+                    {{ field.help_text|safe }}
19 20
                 </span>
20 21
             {% endif %}
21 22
         </div>

Loading…
Cancel
Save