{% extends "allianceauth/base-bs5.html" %} {% comment %} Overrides DOT's bare ``oauth2_provider/logout_confirm.html`` so the RP-initiated logout confirmation renders inside the Alliance Auth shell (Bootstrap 5) instead of DOT's standalone Bootstrap 2 page. DOT's ``RPInitiatedLogoutView`` (``template_name = "oauth2_provider/ logout_confirm.html"``) resolves this copy first because ``allianceauth_oidc`` precedes ``oauth2_provider`` in INSTALLED_APPS. The marker comment below is asserted by the render test to prove the override wins over DOT's own template. {% endcomment %} {% load i18n %} {% block page_title %}{% translate "Confirm Logout" %}{% endblock %} {% block content %}
{% if not error %}
{% if application %}

{% translate "Confirm Logout requested by" %} {{ application.name }}

{% else %}

{% translate "Confirm Logout" %}

{% endif %} {% csrf_token %} {% for field in form %} {% if field.is_hidden %} {{ field }} {% endif %} {% endfor %} {{ form.errors }} {{ form.non_field_errors }}
{% else %}

{% translate "Error:" %} {{ error.error }}

{{ error.description }}

{% endif %}
{% endblock %}