{% extends "account/base.html" %} {% load i18n %} {% block head_title %}{% translate "Change Password" %}{% endblock %} {% block whitebox %}

{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}

{% if token_fail %} {% else %} {% if form %}
{% include "account/_render_form.html" %} {% translate "Change password" as change_text %} {% include "account/_button.html" with text=change_text %}
{% else %}

{% trans 'Your password is now changed.' %}

{% endif %} {% endif %} {% endblock %}