{% extends "authentic2_auth_fc/base.html"%}
{% load static %}
{% load i18n gadjo %}

{% block content %}
    <p>
        {% blocktrans %}
        You're about to delete the link between your user account and your FranceConnect account.
        {% endblocktrans %}
    </p>
    <p>
        {% blocktrans %}
        Deleting this link won't delete those accounts. However, once all the links with FranceConnect
        are deleted, it's no more possible to use the FranceConnect to automatically login to your
        user account. It is still possible to link those accounts once again by using the
        button FranceConnect on the login page.
        {% endblocktrans %}
    </p>
    {% if no_password %}
    <p>
        {% blocktrans %}
        Your user account has no password and removing this link may make this account inaccessible.
        To avoid this situation, please provide a password.
        {% endblocktrans %}
    </p>
    {% endif %}
    <form method="post">
        {% csrf_token %}
        {{ form|with_template }}
        <button class="submit-button" name="unlink">{% trans "Unlink" %}</button>
        <button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
    </form>
{% endblock %}
