{% extends "base.html" %} {% load django_bootstrap5 %} {% load i18n %} {% block title %}{% trans "Change Password" %}{% endblock %} {% block page_heading %}{% trans "Change Password" %}{% endblock page_heading %} {% block content %} {# an administrator sets another user's password, or takes it away (sign-in by LDAP, for one) #}
{% csrf_token %} {% bootstrap_form_errors form type="non_fields" %}

{{ edited_user.username }}

{% trans "How the user signs in." %}

{% trans "Signs in with the password set here." as with_help %} {% trans "Signs in another way, such as LDAP. The current password is removed." as without_help %}
{% for choice in form.usable_password %}
{% endfor %}
{# hidden while Without a password is chosen (webvirtcloud.css) #}
{% bootstrap_field form.password1 %}
{% bootstrap_field form.password2 show_help=False %}
{% bootstrap_field form.must_change_password %}
{% trans "Cancel" %}
{% endblock content %}