{% extends "admin/base_site.html" %} {% load i18n %} {% block bodyclass %}{{ block.super }} passwordform-page{% endblock %} {% block breadcrumb_items %} {% endblock breadcrumb_items %} {% block message_items %} {{ block.super }} {% if form.errors %}
  • {% if form.errors|length == 1 %} {% trans "Please correct the error below." %} {% else %} {% trans "Please correct the errors below." %} {% endif %}
  • {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %} {% endif %} {% endblock %} {% block before_content %}

    {% trans 'Password change' %}

    {% endblock %} {% block content %}
    {% csrf_token %} {% block form_top %}{% endblock %} {% if is_popup %} {% 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." %}
    {% include 'paper_admin/includes/admin_field.html' with field=form.old_password %} {% include 'paper_admin/includes/admin_field.html' with field=form.new_password1 %} {% include 'paper_admin/includes/admin_field.html' with field=form.new_password2 %}
    {% endblock %}