{% extends "idp/oidc/base.html" %}
{% load allauth i18n %}
{% block head_title %}
    {% trans "Sign Out" %}
{% endblock head_title %}
{% block content %}
    {% element h1 %}
        {% trans "Sign Out" %}
    {% endelement %}
    {% element p %}
        {% trans 'Are you sure you want to sign out?' %}
    {% endelement %}
    {% url 'idp:oidc:logout' as action_url %}
    {% element form method="post" action=action_url no_visible_fields=True %}
        {% slot body %}
            {% csrf_token %}
            {{ form }}
        {% endslot %}
        {% slot actions %}
            {% element button name="action" value="logout" type="submit" %}
                {% trans 'Sign Out' %}
            {% endelement %}
            {% element button name="action" value="stay" tags="secondary" type="submit" %}
                {% trans 'Stay Signed In' %}
            {% endelement %}
        {% endslot %}
    {% endelement %}
{% endblock content %}
