{% extends 'base.html' %}

{% block content %}
<article class="panel">
    <h1>Change password</h1>
    <form method="post" action="{% url 'password_change' %}">
        {% csrf_token %}
        {{ form.as_p }}

        <input type="submit" value="Change my password" class="action-button"> or
        <a href="{{request.META.HTTP_REFERER}}">Cancel</a>
    </form>
</article>
{% endblock %}
