{% extends 'base.html' %} {% load i18n %} {% load account %} {% load static %} {% load crispy_forms_tags %} {% block title %}{% trans "Change Password" %}{% endblock %} {% block base_top_nav %}{% endblock %} {% block dont_include_details %}
{% if user.is_authenticated %} {% include "account/snippets/already_logged_in.html" %} {% endif %}

{% trans "Password Reset" %}

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

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

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

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

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

{% endif %} {% endif %}
{% include 'include/global-short-footer.html' %}
{% endblock %}