account/logout.html

{% extends "site_base.html" %}

{% load i18n %}

{% block body_class %}account account-logout{% endblock %}
{% block head_title %}{% trans "Log out" %}{% endblock %}

{% block body %}
    <form method="POST" action="{% url "account_logout" %}">
        <legend>{% trans "Log out" %}</legend>
        <fieldset>
            {% csrf_token %}
            <p>{% trans "Are you sure you want to log out?" %}</p>
            <div class="form-actions">
                <button>{% trans "Log out" %}</button>
            </div>
        </fieldset>
    </form>
{% endblock %}