{% extends "admin/base_site.html" %} {% load i18n admin_static admin_modify %} {% load url from future %} {% load admin_urls %} {% block extrahead %}{{ block.super }} {% url 'admin:jsi18n' as jsi18nurl %} {% endblock %} {% block extrastyle %}{{ block.super }}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% if not is_popup %} {% block breadcrumbs %} {% endblock %} {% endif %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} {% if form.errors %}

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

{% endif %}

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

{{ form.password1.errors }} {# TODO: get required class on label_tag #} {{ form.password1 }}
{{ form.password2.errors }} {# TODO: get required class on label_tag #} {{ form.password2 }}

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

{% endblock %}