Safe error handling on the login form.

This commit is contained in:
Samuel Clay 2010-07-28 18:24:36 -04:00
parent d2a31cfb82
commit 879494eb18

View file

@ -23,7 +23,7 @@
<div class="NB-login">
{% if login_form.errors %}
{% for field, error in login_form.errors.items %}
{{ error }}
{{ error|safe }}
{% endfor %}
{% endif %}
<!--
@ -70,7 +70,7 @@
{% if signup_form.errors %}
{% for field, error in signup_form.errors.items %}
{{ error }}
{{ error|safe }}
{% endfor %}
{% endif %}