{% extends "admin/base_site.html" %} {% load i18n static daisy_theme %} {% block title %}{% translate 'Password change' %} | {% daisy_config "SITE_TITLE" "Django Administration" %}{% endblock %} {% block breadcrumbs %} {% if daisy_theme.SHOW_BREADCRUMBS %} {% endif %} {% endblock %} {% block content %}
{% if form.errors %}
{% daisy_icon "alert-circle" "w-5 h-5 flex-shrink-0 mt-0.5" %}

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

{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{% endif %}
{% csrf_token %}
{% daisy_icon "key" "w-4 h-4" %}

{% translate 'Change password' %}

{% 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.' %}

{% if form.old_password.errors %}
{{ form.old_password.errors }}
{% endif %}
{{ form.old_password }}
{% if form.old_password.help_text %}
{% daisy_icon "help-circle" "w-3 h-3 shrink-0 mt-0.5 opacity-60" %} {{ form.old_password.help_text|safe }}
{% endif %}
{% if form.new_password1.errors %}
{{ form.new_password1.errors }}
{% endif %}
{{ form.new_password1 }}
{% if form.new_password1.help_text %}
{% daisy_icon "help-circle" "w-4 h-4 shrink-0 mt-0.5 text-info" %}
{{ form.new_password1.help_text|safe }}
{% endif %}
{% if form.new_password2.errors %}
{{ form.new_password2.errors }}
{% endif %}
{{ form.new_password2 }}
{% if form.new_password2.help_text %}
{% daisy_icon "help-circle" "w-3 h-3 shrink-0 mt-0.5 opacity-60" %} {{ form.new_password2.help_text|safe }}
{% endif %}
{% translate 'Cancel' %}
{% endblock %}