From 7037d2c1decd2cc8dc8789bd261d58919e95058a Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 10 May 2011 13:14:10 +0200 Subject: Ui fixing. --- templates/changepw/reset_password.html | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'templates/changepw') diff --git a/templates/changepw/reset_password.html b/templates/changepw/reset_password.html index d231f51..c225b8d 100644 --- a/templates/changepw/reset_password.html +++ b/templates/changepw/reset_password.html @@ -4,15 +4,27 @@ {% block title %}Password reset{% endblock %} {% block content %}

Password reset

-{% if return_value == 0 %} +{% if not return_value %}

Here is your new password:

- - - + {% if new_password %} + + + + {% else %} + + + + + {% endif %}
Username:{{ username }}
Password:{{ new_password }}
Password:{{ new_password }}
Password: +
+ {% csrf_token %} + +
+
{% else %}

Something went wrong. Please contact an administrator.

-- cgit v1.1