Added the `safe
template filter to the
field.help_text
` field to allow help_text that contains HTML.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
{% if field.help_text %}
|
{% if field.help_text %}
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
{{ field.help_text }}
|
{{ field.help_text|safe }}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
{% if field.help_text %}
|
{% if field.help_text %}
|
||||||
<p class="help-block">
|
<p class="help-block">
|
||||||
{{ field.help_text }}
|
{{ field.help_text|safe }}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user