{% extends "admin/base_site.html" %} {% load i18n admin_modify adminmedia %} {# grp_csrf #} {% block userlinks %} {% url django-admindocs-docroot as docsroot %} {% if docsroot %}
  • {% trans 'Documentation' %}
  • {% endif %}
  • {% trans 'Change password' %}
  • {% trans 'Log out' %}
  • {% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content-class %}content-grid{% endblock %} {% block content %} {# TODO: French translations alre all mixed up with change "MY" password form ... #} {#

    {% trans 'Password change' %}

    #}

    {% blocktrans with original.username as username %}Enter a new password for the user {{ username }}.{% endblocktrans %}

    {% if form.errors %}

    {% blocktrans count form.errors.items|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}

    {% endif %}
    {% csrf_token %}{% block form_top %}{% endblock %} {% if is_popup %}{% endif %}
    {{ form.password1 }} {{ form.password1.errors }}
    {{ form.password2 }} {{ form.password2.errors }}

    {% trans 'Enter the same password as above, for verification.' %}

    {% endblock %}