add templates for allauth
This commit is contained in:
parent
7d6e0386d8
commit
92b6e8a8cb
44 changed files with 476 additions and 0 deletions
17
gnuviechadmin/templates/account/logout.html
Normal file
17
gnuviechadmin/templates/account/logout.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
{% extends "account/base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{{ block.super }} - {% trans "Sign Out" %}{% endblock title %}
|
||||
{% block page_title %}{% trans "Sign Out" %}{% endblock page_title %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans 'Are you sure you want to sign out?' %}</p>
|
||||
|
||||
<form method="post" action="{% url 'account_logout' %}">
|
||||
{% csrf_token %}
|
||||
{% if redirect_field_value %}
|
||||
<input type="hidden" name="{{redirect_field_name}}" value="{{redirect_field_value}}"/>
|
||||
{% endif %}
|
||||
<button class="btn btn-primary" type="submit">{% trans 'Sign Out' %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue