{% extends "cradmin_resetpassword/base.django.html" %} {% load crispy_forms_tags %} {% load i18n %} {% block title %} {% trans "Reset your password" %} {% endblock title %} {% block page-cover-title %} {% trans "Reset your password" %} {% if generic_token_with_metadata and not generic_token_with_metadata.is_expired %} {{ generic_token_with_metadata.content_object }} {% endif %} {% endblock page-cover-title %} {% block content %} {% if generic_token_with_metadata == None %} {% if generic_token_with_metadata_is_expired %}
{% trans "This password reset link has expired." %}
{% else %}
{% trans "Invalid password reset URL. Are you sure you copied the entire URL from the email?" %}
{% endif %} {% else %} {% crispy form formhelper %} {% endif %} {% endblock content %}