{% extends '_base.html' %} {% load crispy_forms_tags %} {% block title %}Change Password{% endblock title %} {% block content %}

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

{% if token_fail %}

The password reset link was invalid. Perhaps 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 content%}