{% extends "admin/base_site.html" %} {% load i18n static jazzmin %} {% get_jazzmin_ui_tweaks as jazzmin_ui %} {# TODO: This should come through somewhere, also admin docs :( #} {% block userlinks %} {% url 'django-admindocs-docroot' as docsroot %} {% if docsroot %}{% trans 'Documentation' %} / {% endif %} {% trans 'Change password' %} / {% trans 'Log out' %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block title %}{{ title }}{% endblock %} {% block content_title %}{{ title }}{% endblock %} {% block content %}

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

{% csrf_token %}
{% if form.errors %}
{% if errors|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% endif %}
{{ form.old_password }} {% if form.old_password.help_text %}
{{ form.old_password.help_text|safe }}
{% endif %}
{{ form.old_password.errors }}
{{ form.new_password1 }} {% if form.new_password1.help_text %}
{{ form.new_password1.help_text|safe }}
{% endif %}
{{ form.new_password1.errors }}
{{ form.new_password2 }} {% if form.new_password1.help_text %}
{{ form.new_password2.help_text|safe }}
{% endif %}
{{ form.new_password2.errors }}
{% endblock %} {% block extrajs %} {% endblock %}