{% 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 %} {% if not is_popup %} {% block breadcrumbs %}
  • {% trans 'Home' %} /
  • {{ opts.app_label|capfirst|escape }} /
  • {{ opts.verbose_name_plural|capfirst }} /
  • {{ original|truncatewords:"18" }} /
  • {% trans 'Change password' %}
  • {% endblock %} {% endif %} {% block content %} {% if form.errors %}
    {% blocktrans count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
    {% endif %}
    {% csrf_token %} {% block form_top %}{% endblock %}
    {% if is_popup %} {% endif %}
    {% blocktrans with username=original.username %}Enter a new password for the user {{ username }}.{% endblocktrans %}
    {{ form.password1 }} {% if form.password1.errors %} {{ form.password1.errors.0 }} {% endif %}
    {{ form.password2 }} {% if form.password2.errors %} {{ form.password2.errors.0 }} {% endif %}

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

    {% endblock %}