{% extends "admin/base_site.html" %} {% load i18n static admin_urls admin_kubi_tags %} {% block bodyclass %}{{ block.super }} change-form{% endblock %} {% block breadcrumbs %} {% spaceless %} {% endspaceless %} {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content_title %}

{% trans 'Password change' %}

{% endblock %} {% block messages-extra %} {% if form.errors %} {% if form.errors|length == 1 %}{% translate "Please correct the error below." as error_msg %}{% else %}{% translate "Please correct the errors below." as error_msg %}{% endif %} {% include 'admin/message.html' with message=error_msg title="error" only %} {% endif %} {% endblock messages-extra %} {% 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." %}

{{ form.old_password|label_tag|safe }} {{ form.old_password|add_class:"form-control" }} {% for error in form.old_password.errors %} {{ error }} {% endfor %}
{{ form.new_password1|label_tag|safe }} {{ form.new_password1|add_class:"form-control form-control-lg" }} {% for error in form.new_password1.errors %} {{ error }} {% endfor %} {% if form.new_password1.help_text %}
{{ form.new_password1.help_text|safe }}
{% endif %}
{{ form.new_password2|label_tag|safe }} {{ form.new_password2|add_class:"form-control form-control-lg" }} {% for error in form.new_password2.errors %} {{ error }} {% endfor %} {% if form.new_password2.help_text %}
{{ form.new_password2.help_text|safe }}
{% endif %}
{% endblock %}