{% extends "admin/base_site.html" %} {% load i18n static %} {% comment %} Based on Django 4.2 registration/password_change_form.html. Deliberate differences: - no userlinks override: suit's own user links are kept on this page too - content_title is kept: suit's base.html empties it, this page shows its

- rows use suit's .form-group instead of Django's .form-row / .flex-container (forms.css layout, not loaded by suit), the fieldset has no "wide" class {% endcomment %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content_title %}

{{ title }}

{% endblock %} {% block content %}
{% csrf_token %}
{% if form.errors %}

{% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}

{% endif %}

{% translate 'Please enter your old password, for security’s sake, and then enter your new password twice so we can verify you typed it in correctly.' %}

{{ form.old_password.errors }} {{ form.old_password.label_tag }} {{ form.old_password }}
{{ form.new_password1.errors }} {{ form.new_password1.label_tag }} {{ form.new_password1 }} {% if form.new_password1.help_text %}
{{ form.new_password1.help_text|safe }}
{% endif %}
{{ form.new_password2.errors }} {{ form.new_password2.label_tag }} {{ form.new_password2 }} {% if form.new_password2.help_text %}
{{ form.new_password2.help_text|safe }}
{% endif %}
{% endblock %}