{% extends "accounts/base.html" %} {% block title %}{% trans "Password reset" %}{% endblock %} {% block content %} {% if validlink %}

{% trans "Enter new password" %}

{% 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 %}

{{ form.new_password1.errors.as_text }}

{% endif %}
{{ form.new_password2 }} {% if form.new_password2.errors %}

{{ form.new_password2.errors.as_text }}

{% endif %}
{% else %}

{% trans "Password reset unsuccessful" %}

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

{% endif %} {% endblock %}