{% extends "account/base.html" %} {% load url from future %} {% load crispy_forms_tags %} {% block head_title %}Change Password{% endblock %} {% block content %}

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

{% if token_fail %} {% url 'account_reset_password' as passwd_reset_url %}

The password reset link was invalid, possibly because it has already been used. Please request a new password reset.

{% else %} {% if form %}
{% csrf_token %} {{ form|crispy }}
{% else %}

Your password is now changed.

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