{% 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 %}
{% csrf_token %} {% for field in data.form %}
{{ field }} {{ field.errors }}
{% endfor %}