pytask/templates/registration/password_change_form.html
author Nishanth Amuluru <nishanth@fossee.in>
Wed, 12 Jan 2011 00:22:27 +0530
changeset 149 32dd15eaf9d0
parent 79 cc5b6f4ed823
permissions -rw-r--r--
fixed a bug where guest users were not able to view the page correctly
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     1
{% extends "base.html" %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     2
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     3
{% block title %}{% trans 'Password change' %}{% endblock %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     4
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     5
{% block content %}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     6
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     7
<h1>{% trans 'Password change' %}</h1>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     8
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
     9
<p>{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    10
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    11
<form action="" method="post">
70
dca28aad6760 corrected the registration templates to suit new design
Nishanth Amuluru <nishanth@fossee.in>
parents: 69
diff changeset
    12
{% csrf_token %}
32
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    13
{{ form.old_password.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    14
<p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    15
{{ form.new_password1.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    16
<p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    17
{{ form.new_password2.errors }}
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    18
<p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    19
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    20
<p><input type="submit" value="{% trans 'Change my password' %}" /></p>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    21
</form>
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    22
df56daf2178e Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff changeset
    23
{% endblock %}