{% extends "admin/base_site.html" %} {% load i18n static bootstrapped_goodies_tags %} {% load url from future %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content_title %}{% trans 'Password change' %}{% endblock %} {% block content %}
{% csrf_token %} {% if form.errors %}
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% 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.label_tag }}
{% dab_field_rendering form.old_password %} {% if form.old_password.errors %}{{ form.old_password.errors|striptags }}{% endif %}
{{ form.new_password1.label_tag }}
{% dab_field_rendering form.new_password1 %} {% if form.new_password1.errors %} {{ form.new_password1.errors|striptags }}{% endif %} {% if form.new_password1.help_text %}{{ form.new_password1.help_text }}{% endif %}
{{ form.new_password2.label_tag }}
{% dab_field_rendering form.new_password2 %} {% if form.new_password2.errors %} {{ form.new_password2.errors|striptags }}{% endif %} {% if form.new_password2.help_text %}{{ form.new_password2.help_text }}{% endif %}
{% endblock %}