Initial commit of DEMOS2 with the upgraded 'Create Event' UI. However, there is no input validation currently
This commit is contained in:
commit
7084bd1b16
155 changed files with 8102 additions and 0 deletions
21
allauthdemo/templates/allauth/account/logout.html
Executable file
21
allauthdemo/templates/allauth/account/logout.html
Executable file
|
@ -0,0 +1,21 @@
|
|||
{% extends "bases/bootstrap-auth.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block head_title %}{% trans "Sign Out" %}{% endblock %}
|
||||
|
||||
{% block inner-content %}
|
||||
<h1>{% trans "Sign Out" %}</h1>
|
||||
|
||||
<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 %}
|
Reference in a new issue