{% extends "admin/base_site.html" %} {% load i18n static %} {% load url from elegant_compat %} {% 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 %} {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content %}
{% csrf_token %}
{% 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." %}
{% if form.errors %}
{% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %} Please correct the errors below.{% endblocktrans %}
{% endif %} {#

{% trans 'Password change' %}

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