{% extends "base.html" %} {% load crispy_forms_filters %} {% load i18n %} {% block title %} {% if validlink %} {% translate "Set password" %} {% else %} {% translate "Invalid link" %} {% endif %} {% endblock %} {% block content %} {% if validlink %}

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

{% csrf_token %} {{ form|crispy }}
{% else %}

{% translate "The password reset link was invalid, possibly because it had already been used. Please request a new password reset." %}

{% endif %} {% endblock %}