{% extends "authentic2/login_password_form.html" %}
{% load i18n %}

{% block login %}
  <h3>Vos identifiants</h3>
  <p>Les champs marqués d'un astérisque sont obligatoires</p>
  {{ block.super }}
{% endblock %}

{% block actions %}
  {% if can_reset_password or registration_authorized %}
    <div class="login-actions">
      <ul>
        {% if can_reset_password %}
          <li>
            <p>
              {# only remove the "→" before "Forgot password?" #}
              {% trans "Forgot password?" %}
              <a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">
                {% trans "Reset it!" %}
              </a>
            </p>
          </li>
        {% endif %}
        {% if registration_authorized and not hide_login_registration_link %}
          <li><p>→ {% trans "Not a member?" %} <a href="{{ registration_url }}">{% trans "Register!" %}</a></p></li>
        {% endif %}
      </ul>
    </div>
  {% endif %}
{% endblock %}
