043054ca36b4110cf0cdbb1e3650964862b8085c
[auf_paf.git] / paf0 / templates / registration / password_change_form_student.html
1 {% extends "base.html" %}
2 {% load i18n static %}
3 {% load url from future %}
4
5 {% block main %}<div id="content-main">
6
7 <form action="" method="post">{% csrf_token %}
8 <div>
9 {% if form.errors %}
10 <p class="errornote">
11 {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
12 </p>
13 {% endif %}
14
15 <h1>{% trans 'Password change' %}</h1>
16
17 <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>
18
19 <fieldset class="module aligned wide">
20
21 <div class="form-row">
22 {{ form.old_password.errors }}
23 <label for="id_old_password" class="required">{% trans 'Old password' %}:</label>{{ form.old_password }}
24 </div>
25
26 <div class="form-row">
27 {{ form.new_password1.errors }}
28 <label for="id_new_password1" class="required">{% trans 'New password' %}:</label>{{ form.new_password1 }}
29 </div>
30
31 <div class="form-row">
32 {{ form.new_password2.errors }}
33 <label for="id_new_password2" class="required">{% trans 'Password (again)' %}:</label>{{ form.new_password2 }}
34 </div>
35
36 </fieldset>
37
38 <div class="submit-row">
39 <input type="submit" value="{% trans 'Change my password' %}" class="default" />
40 </div>
41
42 <script type="text/javascript">document.getElementById("id_old_password").focus();</script>
43 </div>
44 </form></div>
45
46 {% endblock %}
47
48