22 lines
638 B
HTML
22 lines
638 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 %}">← 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 %}
|
|
{{ form.as_p }}
|
|
<input type="submit" value="{% trans "Save changes" %}">
|
|
</form>
|
|
</article>
|
|
{% endblock %}
|