{% extends "base.html" %} {% load i18n %} {% block pagetitle %}{% trans "Setting New password" %}{% endblock %} {% block main-content %} {% if validlink %}
{% if form.errors %}
{% if form.errors.items|length == 1 %} {% trans "Please correct the error below and try again." %} {% else %} {% trans "Please correct the errors below and try again." %} {% endif %}
{% endif %}

{% csrf_token %}

{% trans 'Change Password' %}

{{ form.new_password1.label_tag }} {{ form.new_password1.errors }}
{{ form.new_password2.label_tag }} {{ form.new_password2.errors }}
{% else %}

Password reset unsuccessful

The password reset link was invalid,
possibly because it has already been used.
Please request a new password reset.

{% endif %} {% endblock %}