{% extends "base.html" %} {% load django_bootstrap5 %} {% block headline %} {% if validlink %} Reset your password {% else %} Password reset failed {% endif %} {% endblock %} {% block content %} {% if validlink %}

Please enter (and confirm) your new password.

{% csrf_token %} {% bootstrap_form form layout="horizontal" %} {% bootstrap_button "Change my password" extra_classes="ms-auto" button_type="submit" %}
{% else %} {% bootstrap_alert "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." alert_type="danger" dismissible=False %} {% endif %} {% endblock %}