Added the `safe template filter to the field.help_text` field to allow help_text that contains HTML.

This commit is contained in:
Brent O'Connor
2012-06-05 14:14:58 -07:00
parent 537e0f116c
commit b2bdb0c1d6

View File

@@ -12,7 +12,7 @@
{% if field.help_text %}
<p class="help-block">
{{ field.help_text }}
{{ field.help_text|safe }}
</p>
{% endif %}
</div>
@@ -28,7 +28,7 @@
{% if field.help_text %}
<p class="help-block">
{{ field.help_text }}
{{ field.help_text|safe }}
</p>
{% endif %}