{% extends "admin/base_site.html" %} {% load i18n adminmedia %} {% load url from future %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block userlinks %}{% url 'django-admindocs-docroot' as docsroot %}{% if docsroot %}{% trans 'Documentation' %} / {% endif %} {% trans 'Change password' %} / {% trans 'Log out' %}{% endblock %} {% block breadcrumbs-relative %}
  • {% trans 'Admin' %}
  • {% trans 'Password change' %}
  • {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content %}
    {% csrf_token %}
    {% if form.errors %}

    {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

    {% endif %}

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

    {{ form.old_password.errors }} {{ form.old_password }}
    {{ form.new_password1.errors }} {{ form.new_password1 }}
    {{ form.new_password2.errors }} {{ form.new_password2 }}
    {% endblock %}