docbow/docbow_project/docbow/templates/registration/password_change_form.html

26 lines
638 B
HTML

{% extends "docbow/base_user.html" %}
{% load i18n %}
{% block title %}
{% trans "Changing password" %}
{% endblock %}
{% block main-column %}
<h3>{% trans "Changing password" %}</h3>
<form method="post" action=".">
{% csrf_token %}
{% include "docbow/errors.html" with error_form=form %}
{% include "docbow/field.html" with field=form.old_password %}
{% include "docbow/field.html" with field=form.new_password1 %}
{% include "docbow/field.html" with field=form.new_password2 %}
<input type="submit" name="{{form.prefix}}-validate" value="{% trans 'Change Password' %}" />
</form>
{% endblock %}