{% load i18n %} {% if data.password_change_required %}

{% trans "Your password has expired. Please change it using the form below." %}

{% else %}

Use the following form to change your password.

{% endif %} {% if data.form.non_field_errors %}
{{ data.form.non_field_errors }}
{% endif %} {% if data.form_error_message %}
{{ data.form_error_message }}
{% endif %}
{% csrf_token %} {{ data.form }}