ptcoffee_django/templates/account/password_change.html

34 lines
928 B
HTML

{% extends "base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Change Password" %}{% endblock %}
{% block content %}
<article>
<header>
<p><a href="{% url 'storefront:customer-detail' user.pk %}">&larr; Back</a></p>
<h1>{% trans "Change Password" %}</h1>
<a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
</header>
<form method="POST" action="{% url 'account_change_password' %}" class="password_change">
{% csrf_token %}
<table class="form-table">
<tbody>
{{ form.as_table }}
</tbody>
<tfoot>
<tr>
<td>
</td>
<td>
<button type="submit">Save changes</button>
</td>
</tr>
</tfoot>
</table>
</form>
</article>
{% endblock %}