{% extends "authentic2/base-page.html" %}
{% load i18n gadjo %}

{% block page-title %}
  {% trans "Password reset instructions" %}
{% endblock %}

{% block content %}
  {% if 'robot' in request.GET %}
  <p><strong>{% trans "Your password reset request has been refused." %}</strong>{% trans "Indeed your browser checked a hidden anti-robot checkbox on the registration form. A browser extension may produce this behaviour, in this case disable such extensions and try again." %}</p>
  {% else %}
  <p>
  <strong>
    {% blocktrans with email=request.session.reset_email %}
    An email has been sent to {{ email }}.
    {% endblocktrans %}
  </strong></p>
  <p><strong>
    {% blocktrans %}
    Follow the instructions in this email in order to choose a new password.
    {% endblocktrans %}
  </strong></p>
  {% block advice %}
    <p>
    {% blocktrans %}
    The email may take several minutes to be received. It can also be
    considered as spam: please look in your "junk mail" folder.
    {% endblocktrans %}
    </p>
    <p>
    {% blocktrans %}
    If you still have not received the instructions, add "{{from_email_address}}"
    to your address book or authorized sender list, and then repeat the
    password reset process.
    {% endblocktrans %}
  {% endblock %}
  </p>
  {% endif %}
    {% block back %}
      <p><a href="{% url 'auth_login' %}">{% trans "Back to login" %}</a></p>
    {% endblock %}
{% endblock %}
