{% extends "registration/base.html" %} {% load crispy_forms_tags %} {% load i18n %} {% load url from future %} {% block title %} {% if validlink %} {% trans "Enter New Password" %} {% else %} {% trans "Password Reset Unsuccessful" %} {% endif %} {% endblock title %} {% block page_main_title %} {% if validlink %} {% trans "Enter New Password" %} {% else %} {% trans "Password Reset Unsuccessful" %} {% endif %} {% endblock page_main_title %} {% block content %} {% if validlink %}
{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}
{% block form %} {% endblock %} {% else %}{% trans "The password reset link was invalid, possibly because it has already been used." %}
{% url 'password_reset' as password_reset_url %} {% if password_reset_url %}{% blocktrans %}Please request a new password reset.{% endblocktrans %}
{% else %}{% trans "Please request a new password reset." %}
{% endif %} {% endif %} {% endblock content %}