{% extends "base.html" %}
{% load i18n %}

{% block subtitle %}
    <h1>{% trans 'Password reset' %}</h1>
{% endblock %}

{% block main %}
    {% if validlink %}
        <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
        <form method="post">{% csrf_token %}
            {% include 'extras/form.html' %}
            <input type="submit" value="{% trans 'Confirm' %}" class="btn btn-primary">
        </form>
    {% else %}
        <p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p>
    {% endif %}
{% endblock %}
