gva/gnuviechadmin/templates/account/logout.html

18 lines
609 B
HTML
Raw Normal View History

2015-01-17 23:08:41 +01:00
{% extends "account/base.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {% translate "Sign Out" %}{% endblock title %}
{% block page_title %}{% translate "Sign Out" %}{% endblock page_title %}
2015-01-17 23:08:41 +01:00
{% block content %}
<p>{% translate 'Are you sure you want to sign out?' %}</p>
2015-01-17 23:08:41 +01:00
<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">{% translate 'Sign Out' %}</button>
2015-01-17 23:08:41 +01:00
</form>
{% endblock %}