{% extends "admin/base_site.html" %} {% load i18n static admin_modify admin_urls %} {% load url from elegant_compat %} {% 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 }}
{{ form.password1.errors }}
{{ form.password2 }}
{{ form.password2.errors }}{% trans 'Enter the same password as above, for verification.' %}
{% endblock %}