| 1 |
{% extends "idp/oidc/base.html" %} |
| 2 |
{% load allauth i18n %} |
| 3 |
{% block head_title %} |
| 4 |
{% trans "Sign Out" %} |
| 5 |
{% endblock head_title %} |
| 6 |
{% block content %} |
| 7 |
{% element h1 %} |
| 8 |
{% trans "Sign Out" %} |
| 9 |
{% endelement %} |
| 10 |
{% element p %} |
| 11 |
{% trans 'Are you sure you want to sign out?' %} |
| 12 |
{% endelement %} |
| 13 |
{% url 'idp:oidc:logout' as action_url %} |
| 14 |
{% element form method="post" action=action_url no_visible_fields=True %} |
| 15 |
{% slot body %} |
| 16 |
{% csrf_token %} |
| 17 |
{{ form }} |
| 18 |
{% endslot %} |
| 19 |
{% slot actions %} |
| 20 |
{% element button name="action" value="logout" type="submit" %} |
| 21 |
{% trans 'Sign Out' %} |
| 22 |
{% endelement %} |
| 23 |
{% element button name="action" value="stay" tags="secondary" type="submit" %} |
| 24 |
{% trans 'Stay Signed In' %} |
| 25 |
{% endelement %} |
| 26 |
{% endslot %} |
| 27 |
{% endelement %} |
| 28 |
{% endblock content %} |