Fixed #25053 -- Made admin templates use |safe with password help_text

This commit is contained in:
Adam Taylor 2015-07-02 10:45:11 -06:00 committed by Tim Graham
parent 9a5cfa05a0
commit 30a152a367
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
{{ form.password1.errors }}
{{ form.password1.label_tag }} {{ form.password1 }}
{% if form.password1.help_text %}
<p class="help">{{ form.password1.help_text }}</p>
<p class="help">{{ form.password1.help_text|safe }}</p>
{% endif %}
</div>
@ -44,7 +44,7 @@
{{ form.password2.errors }}
{{ form.password2.label_tag }} {{ form.password2 }}
{% if form.password2.help_text %}
<p class="help">{{ form.password2.help_text }}</p>
<p class="help">{{ form.password2.help_text|safe }}</p>
{% endif %}
</div>

View File

@ -36,7 +36,7 @@
{{ form.new_password1.errors }}
{{ form.new_password1.label_tag }} {{ form.new_password1 }}
{% if form.new_password1.help_text %}
<p class="help">{{ form.new_password1.help_text }}</p>
<p class="help">{{ form.new_password1.help_text|safe }}</p>
{% endif %}
</div>
@ -44,7 +44,7 @@
{{ form.new_password2.errors }}
{{ form.new_password2.label_tag }} {{ form.new_password2 }}
{% if form.new_password2.help_text %}
<p class="help">{{ form.new_password2.help_text }}</p>
<p class="help">{{ form.new_password2.help_text|safe }}</p>
{% endif %}
</div>