From b2bdb0c1d6b4ada9f36af80d7a61b830cc968925 Mon Sep 17 00:00:00 2001 From: Brent O'Connor Date: Tue, 5 Jun 2012 14:14:58 -0700 Subject: [PATCH] Added the ``safe`` template filter to the ``field.help_text`` field to allow help_text that contains HTML. --- bootstrapform/templates/bootstrapform/field.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrapform/templates/bootstrapform/field.html b/bootstrapform/templates/bootstrapform/field.html index 8929f2f..db28e3e 100644 --- a/bootstrapform/templates/bootstrapform/field.html +++ b/bootstrapform/templates/bootstrapform/field.html @@ -12,7 +12,7 @@ {% if field.help_text %}

- {{ field.help_text }} + {{ field.help_text|safe }}

{% endif %} @@ -28,7 +28,7 @@ {% if field.help_text %}

- {{ field.help_text }} + {{ field.help_text|safe }}

{% endif %}