password_change_form.html 561 Bytes
Newer Older
Janez K's avatar
Janez K committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}
{% load url from future %}
{% block body %}
This is the password change form.
<form method="post" action="{% url 'password change' %}">
    {% csrf_token %}
    {{ form.old_password.label_tag }}
    {{ form.old_password }} {{ form.old_password.errors }}<br>
    {{ form.new_password1.label_tag }}
    {{ form.new_password1 }} {{ form.new_password1.errors }} <br>
    {{ form.new_password2.label_tag }}
    {{ form.new_password2 }} {{ form.new_password2.errors }}<br>
    <input type="submit" value="login">
</form>
{% endblock body %}