1 {% extends "registration/base.html" %}
5 {% block content %}<div id="content-main">
7 <h2>{% trans 'Password change' %}</h2>
9 <form action="" method="post">{% csrf_token %}
13 {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
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>
19 <fieldset class="module aligned wide">
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 }}
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 }}
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 }}
38 <div class="submit-row">
39 <button>{% trans 'Change my password' %}</button>
42 <script type="text/javascript">document.getElementById("id_old_password").focus();</script>