{% extends "admin/base_site.html" %} {% load i18n admin_static %} {% load admin_urls %} {% block extrahead %} {{ block.super }} {% 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 %}Enter a new password for the user {{ username }}.{% endblocktrans %}

{% if form.password1.errors %} {% for error in form.password1.errors %}

× {{ error }}

{% endfor %} {% endif %} {# TODO: get required class on label_tag #}
{{ form.password1 }}
{% if form.password2.errors %} {% for error in form.password2.errors %}

× {{ error }}

{% endfor %} {% endif %} {# TODO: get required class on label_tag #}
{{ form.password2 }}

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

{% endblock %}