{% extends "account/base.html" %} {% load i18n static %} {% block title %}{% trans "Reset password page" context "Html title" %} | {{ block.super }}{% endblock %} {% block meta_property_og_title %}{% trans "Reset password page" context "Html title" %} | {{ block.super }}{% endblock %} {% block meta_property_twitter_title %}{% trans "Reset password page" context "Html title" %} | {{ block.super }}{% endblock %} {% block content %}{{ block.super }}{% endblock %} {% block page_account_title %}{% trans 'Set your password' %}{% endblock %} {% block page_account_content %} {% if validlink %}

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

{% csrf_token %}
{{ form.new_password1 }} {% if form.new_password1.errors %} {% with form.new_password1.errors|first as first_error %} - {{ first_error }} {% endwith %} {% endif %}
{{ form.new_password2 }} {% if form.new_password2.errors %} {% with form.new_password2.errors|first as first_error %} - {{ first_error }} {% endwith %} {% endif %}

{% else %}

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

{% trans 'Request new password' %}

{% endif %} {% endblock %}