equal
deleted
inserted
replaced
1 {% extends "base.html" %} |
1 {% extends "base.html" %} |
|
2 |
|
3 {% load i18n %} |
|
4 {% load form_helpers %} |
2 |
5 |
3 {% block title %}{% trans 'Password change' %}{% endblock %} |
6 {% block title %}{% trans 'Password change' %}{% endblock %} |
4 |
7 |
5 {% block content %} |
8 {% block content %} |
6 |
9 |
7 <h1>{% trans 'Password change' %}</h1> |
10 <h1>{% trans 'Password Change' %}</h1> |
8 |
11 |
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> |
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> |
10 |
13 |
11 <form action="" method="post"> |
14 {% as_div_form form "Password Change Form" csrf_token "Change password" %} |
12 {% csrf_token %} |
|
13 {{ form.old_password.errors }} |
|
14 <p class="aligned wide"><label for="id_old_password">{% trans 'Old password:' %}</label>{{ form.old_password }}</p> |
|
15 {{ form.new_password1.errors }} |
|
16 <p class="aligned wide"><label for="id_new_password1">{% trans 'New password:' %}</label>{{ form.new_password1 }}</p> |
|
17 {{ form.new_password2.errors }} |
|
18 <p class="aligned wide"><label for="id_new_password2">{% trans 'Confirm password:' %}</label>{{ form.new_password2 }}</p> |
|
19 |
|
20 <p><input type="submit" value="{% trans 'Change my password' %}" /></p> |
|
21 </form> |
|
22 |
|
23 {% endblock %} |
15 {% endblock %} |