| 1 |
{% extends "account/base.html" %} |
| 2 |
|
| 3 |
{% load i18n %} |
| 4 |
|
| 5 |
{% block head_title %}{% trans "Sign Out" %}{% endblock %} |
| 6 |
|
| 7 |
{% block content %} |
| 8 |
<h1>{% trans "Sign Out" %}</h1> |
| 9 |
|
| 10 |
<p>{% trans 'Are you sure you want to sign out?' %}</p> |
| 11 |
|
| 12 |
<form method="post" action="{% url 'account_logout' %}"> |
| 13 |
{% csrf_token %} |
| 14 |
{% if redirect_field_value %} |
| 15 |
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/> |
| 16 |
{% endif %} |
| 17 |
<button type="submit" class="btn btn-primary">{% trans 'Sign Out' %}</button> |
| 18 |
</form> |
| 19 |
|
| 20 |
|
| 21 |
{% endblock %} |