author | Nishanth Amuluru <nishanth@fossee.in> |
Sat, 08 Jan 2011 11:20:57 +0530 | |
changeset 69 | c6bca38c1cbf |
parent 32 | templates/registration/password_change_form.html@df56daf2178e |
child 70 | dca28aad6760 |
permissions | -rw-r--r-- |
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 |
{% load i18n %} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
3 |
{% block userlinks %}{% url django-admindocs-docroot as docsroot %}{% if docsroot %}<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> / {% endif %} {% trans 'Change password' %} / <a href="../logout/">{% trans 'Log out' %}</a>{% endblock %} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
4 |
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> › {% trans 'Password change' %}</div>{% endblock %} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
5 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
6 |
{% block title %}{% trans 'Password change' %}{% endblock %} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
7 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
8 |
{% block content %} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
9 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
10 |
<h1>{% trans 'Password change' %}</h1> |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
11 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
12 |
<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
|
13 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
14 |
<form action="" method="post"> |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
15 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
16 |
{{ form.old_password.errors }} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
17 |
<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
|
18 |
{{ form.new_password1.errors }} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
19 |
<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
|
20 |
{{ form.new_password2.errors }} |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
21 |
<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
|
22 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
23 |
<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
|
24 |
</form> |
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
25 |
|
df56daf2178e
Added all the required templates for django-registration
Nishanth Amuluru <nishanth@fossee.in>
parents:
diff
changeset
|
26 |
{% endblock %} |