Fixed #25053 -- Made admin templates use |safe with password help_text
This commit is contained in:
parent
9a5cfa05a0
commit
30a152a367
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue