{% extends "base.html" %} {% load i18n %} {% block title %}{{ validlink|yesno:"Enter new password,Password reset unsuccessful" }}{% endblock %} {% block header_content %}{{ validlink|yesno:"Enter new password,Password reset unsuccessful" }}{% endblock %} {% block content %} {% if validlink %}
{% csrf_token %}

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

{{ form.new_password1 }}
{{ form.new_password1.errors }}
{{ form.new_password2 }}
{{ form.new_password2.errors }}

{% trans 'Enter the same password as above, for verification.' %}

{% else %}

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

{% endif %} {% endblock %}