gva/gnuviechadmin/templates/account/logout.html

18 lines
593 B
HTML
Raw Normal View History

2015-01-17 23:08:41 +01:00
{% 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 %}