{% extends "admin/base_site.html" %} {% load i18n adminmedia admintools_bootstrap %} {% 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 %} ../|{% trans "Home" %} {% 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 'Password change' %}

{% 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 }} {% if form.old_password.errors %}{{ form.old_password.errors }}{% endif %}
{{ form.new_password1 }} {% if form.new_password1.errors %}{{ form.new_password1.errors }}{% endif %}
{{ form.new_password2 }} {% if form.new_password2.errors %}{{ form.new_password2.errors }}{% endif %}
{% endblock %}