{% extends "base.html" %} {% block title %} | Reset password{% endblock %} {% block bodydata %} class="login" {% endblock %} {% block main %}

{% if token_fail %}Bad Token{% else %}Set your new 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.errors %}
We were not able to change the password: {{ form.password1.errors }} {{ form.password2.errors }}
{% endif %}
{% csrf_token %}
{% endif %}
{% endblock %} {% block libraries %} {% endblock %}