{% extends "base.html" %}

{% block title %}Password Change{% endblock %}

{% block content %}

<h1>Password change</h1>

<form action="" method="post">{% csrf_token %}
{% if form.errors %}
    <p>
    Please correct any errors below.
    </p>
{% endif %}

<p>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>

<div>
    {{ form.old_password.errors }}
    <label for="id_old_password">Old password:</label> {{ form.old_password }}
</div>

<div>
    {{ form.new_password1.errors }}
    <label for="id_new_password1">New password:</label> {{ form.new_password1 }}
</div>

<div>
{{ form.new_password2.errors }}
    <label for="id_new_password2">Password (again):</label> {{ form.new_password2 }}
</div>

<input type="submit" value="Change my password" />

</form>

{% endblock %}

{% extends "base.html" %}

{% block title %}Password Change{% endblock %}

{% block content %}

<h1>Password change</h1>

{% if form.errors %}
    <p>
    Please correct any errors below.
    </p>
{% endif %}

<form action="" method="post">{% csrf_token %}

<p>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>

<table border="0" cellpadding="0" cellspacing="0">
    {{ form }}
    <tr><th><input type="submit" value="Change my password" /></th><td></td></tr>
</table>

</form>

{% endblock %}

Make password change template more consistent with other forms
Make password change template more consistent with other forms
