{% extends "account/base.jinja" %}

{% block head_title %}
    {% trans %}
        Reset Password
    {% endtrans %}
{% endblock head_title %}
{% block content %}
    {% if request.user.is_authenticated %}
        {% include "account/snippets/already_logged_in.jinja" %}
    {% endif %}
    <p>
        {% trans %}
            Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it.
        {% endtrans %}
    </p>
    <form method="post"
          action="{{ url('account_reset_password') }}"
          class="password_reset mb-4">
        {% csrf_token %}
        {{ form }}
        <input type="submit" value="{% trans %}Reset My Password{% endtrans %}" />
    </form>
    <p>
        {% trans %}
            Please contact us if you have any trouble resetting your password.
        {% endtrans %}
    </p>
{% endblock content %}
