From adebcb2dc599222db1288fde3c359d26a8802076 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 17 May 2011 15:58:49 +0200 Subject: Template update. --- templates/changepw/change_other.html | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/templates/changepw/change_other.html b/templates/changepw/change_other.html index 492e98c..67e5554 100644 --- a/templates/changepw/change_other.html +++ b/templates/changepw/change_other.html @@ -9,19 +9,24 @@ {{ form.non_field_errors }}

{% csrf_token %} - - {% for field in form %} - - - - - - - {% endfor %} -
{{ field.errors }}
{{ field.label_tag }}:{{ field }}
- + + {% for field in form %} + + + + + + + + + + {% endfor %} +
{{ field.errors }}
{{ field.label_tag }}:
{{ field }}
-{% else %} +{% endif %} + {% if return_value == 0 %} +

Changed successfully.

+ {% else %}

Something went wrong. Please contact an administrator.

Return code: {{ return_value }}

{% endif %} -- cgit v1.1