{% extends "sites_faciles/base.html" %} {% load widget_tweaks i18n static dsfr_tags %} {% block content %}

{% translate "Connection" %}

{% translate "Log in with your account" %}

{% translate "Unless otherwise stated, all fields are mandatory." %}

{% if form.errors %}

{% translate "Error: Your username and password do not match, please try again." %}

{% endif %} {% if next %} {% if user.is_authenticated %}

{% translate "Error: Your account does not have access to this page. To continue, please log in with an authorized account." %}

{% endif %} {% endif %} {% dsfr_django_messages %}
{% csrf_token %} {% url 'wagtailadmin_home' as home_url %}
{{ form.username |add_class:"fr-input" }}
{{ form.password |add_class:"fr-password__input fr-input" }}
{% translate "Show password" as show_password %}
{% if show_password_reset %} {% translate "Forgotten password?" %} {% endif %}
{{ form.remember }}
  • {% translate "Connect" as connect_label %}
{% endblock content %} {% block extra_css %} {% endblock extra_css %}