```html {% extends "base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% block title %} {% if token_fail %} {% trans "Invalid Reset Link" %} {% else %} {% trans "Reset Password" %} {% endif %} {% endblock %} {% block content %}
{% if token_fail %}

{% trans "Invalid or Expired Link" %}

{% trans "This password reset link is invalid or has already been used." %}

{% trans "Password reset links can only be used once and may expire after a period of time." %}
{% else %}

{% trans "Create a New Password" %}

{% trans "Choose a strong password to secure your account." %}

{% csrf_token %} {{ form|crispy }} {{ redirect_field }}
{% if cancel_url %} {% trans "Cancel" %} {% else %} {% endif %}

{% trans "For better security, use a password with at least 12 characters, including uppercase letters, lowercase letters, numbers, and symbols." %}
{% endif %}
{% if not cancel_url %}
{% csrf_token %}
{% endif %} {% endblock %} ```