first commit
This commit is contained in:
25
templates/account/logout.html
Executable file
25
templates/account/logout.html
Executable file
@@ -0,0 +1,25 @@
|
||||
{% extends "account/base_manage.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 'account_logout' as action_url %}
|
||||
{% element form method="post" action=action_url no_visible_fields=True %}
|
||||
{% slot body %}
|
||||
{% csrf_token %}
|
||||
{{ redirect_field }}
|
||||
{% endslot %}
|
||||
{% slot actions %}
|
||||
{% element button type="submit" %}
|
||||
{% trans 'Sign Out' %}
|
||||
{% endelement %}
|
||||
{% endslot %}
|
||||
{% endelement %}
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user