{% extends "admin/base_site.html" %} {% load i18n static admin_urls semantic_filters %} {% block title %} {% if form.errors %} {% translate "Error:" %} {% endif %} {{ block.super }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block bodyclass %} {{ block.super }} {{ opts.app_label }}-{{ opts.model_name }} 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 %}
{% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}
{% endif %}

{% blocktranslate with username=original %}Enter a new password for the user {{ username }}.{% endblocktranslate %}

{% if not form.user.has_usable_password %}

{% blocktranslate %}This action will enable password-based authentication for this user.{% endblocktranslate %}

{% endif %} {% if form.usable_password %}
{{ form.usable_password.errors|semantic_error_list }}
{% for choice in form.usable_password %}
{{ choice.tag }}
{% endfor %}
{% if form.usable_password.help_text %}

{{ form.usable_password.help_text|safe }}

{% endif %}
{% endif %}
{{ form.password1.label_tag }} {{ form.password1 }} {{ form.password1.errors|semantic_error_list }} {% if form.password1.help_text %}
{{ form.password1.help_text|semantic_help_text }}
{% endif %}
{{ form.password2.label_tag }} {{ form.password2 }} {{ form.password2.errors|semantic_error_list }} {% if form.password2.help_text %}
{{ form.password2.help_text|semantic_help_text }}
{% endif %}
{% if form.user.has_usable_password %} {% else %} {% endif %}
{% if form.user.has_usable_password %}
{% endif %}
{% endblock %}