add templates for allauth

This commit is contained in:
Jan Dittberner 2015-01-17 23:08:41 +01:00
parent 7d6e0386d8
commit 92b6e8a8cb
44 changed files with 476 additions and 0 deletions

View 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 %}