{% extends "admin/base_site.html" %} {% load i18n admin_static admin_urls %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block title %}{% trans 'Password change' %}{% endblock %} {% block content-class %}{% endblock %} {% block content %} {# TODO: French translations are 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 %}

{% if form.errors.items|length == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}

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

{{ form.password1.help_text|safe }}

{% endif %}
{{ form.password2 }} {{ form.password2.errors }}

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

{% endblock %}