From 886180ff618f9ee6ec62e13faba63c05a7c52118 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Wed, 18 May 2011 15:10:51 +0200 Subject: Change the way change_other works. --- templates/changepw/change_other.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'templates/changepw') diff --git a/templates/changepw/change_other.html b/templates/changepw/change_other.html index 4351b45..c3fa637 100644 --- a/templates/changepw/change_other.html +++ b/templates/changepw/change_other.html @@ -4,26 +4,18 @@ {% block title %}Change other{% endblock %} {% block content %}

Change other

-{% if form %} -

- {{ form.non_field_errors }} -

+{% if return_value == None %}
{% csrf_token %} - {% for field in form %} - + - - - - + - {% endfor %}
{{ field.errors }}Input:
{{ field.label_tag }}:
{{ field }}
{% else %} -- cgit v1.1