{% extends "admin/base_site.html" %} {% load i18n static %} {% load widget_tweaks %} {% 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 %}{{ title }}{% endblock %} {% block content_title %}

{{ title }}

{% 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.new_password1.help_text %}
{{ form.new_password1.help_text|safe }}
{% endif %}
{% if form.errors %}
{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
{% endif %}
{{ form.old_password.errors }}
{{ form.old_password|add_label_class:"uk-form-label" }}
{{ form.old_password }}
{{ form.new_password1.errors }}
{{ form.new_password1|add_label_class:"uk-form-label" }}
{{ form.new_password1}}
{{ form.new_password2.errors }}
{{ form.new_password2|add_label_class:"uk-form-label" }}
{{ form.new_password2}} {% if form.new_password2.help_text %}
{{ form.new_password2.help_text|safe }}
{% endif %}
{% endblock %}