{% extends "account/base.html" %} {% load i18n %} {% load bootstrap_tags %} {% load url from future %} {% block head_title %}{% trans "Change Password" %}{% endblock %} {% block body %} {% if token_fail %}

{% trans "Expired or Invalid Reset" %}

{% trans "The password reset link you followed is invalid or has been used already." %}

{% url "acct_passwd_reset" as passwd_reset_url %}

{% blocktrans %}The password reset link you follow is invalid, possibly because it has already been used. Please request a new password reset.{% endblocktrans %}

{% else %} {% if form %}

{% trans "Changing Password" %}

{% trans "Use the form below to set a new password for your account." %}

{% csrf_token %} {{ form|as_bootstrap }}
{% else %}

{% trans "Password Updated" %}

{% trans "Your password has been successfully updated." %}

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