{% extends "login_base.html" %} {% load i18n django_bootstrap5 %} {% block login_content %}
{% if validlink %}

{% trans 'Enter new password' %}

{% trans 'Please enter your new password twice so we can verify you typed it in correctly.' %}

{% csrf_token %} {% bootstrap_form form %} {% bootstrap_form_errors form type='non_fields' %}
{% else %}

{% trans 'Password reset unsuccessful' %}

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

{% endif %}
{% endblock %}