{% extends "xadmin/views/model_form.html" %} {% load i18n %} {% load url from future %} {% load xadmin_tags %} {% load crispy_forms_tags %} {% block breadcrumbs %} {% if account_view %} {% else %} {% endif %} {% endblock %} {% block content %}
{% csrf_token %}{% block form_top %}{% endblock %} {% if errors %}
{% blocktrans count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
{{ form.non_field_errors }} {% endif %}
{% if account_view %} {% trans "Enter your new password." %} {% else %} {% blocktrans with username=original.username %}Enter a new password for the user {{ username }}.{% endblocktrans %} {% endif %}
{% crispy form %}
{% endblock %}