{% extends "admin/base_site.html" %} {% load url from future %} {% load i18n admin_modify admin_urls %} {# grp_csrf #} {% 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 %}

{% 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 %}