{% extends 'base.html' %}

{% block content %}
<article class="panel">
    <h1>Log Out</h1>
    <p>Are you sure you want to log out?</p>

    <form method="post" action="{% url 'account_logout' %}">
        {% csrf_token %}
        {{ form.as_p }}

        <p>
            <input type="submit" value="Log out" class="action-button">
            <input type="hidden" name="next" value="{{ next }}">
        </p>
    </form>
</article>
{% endblock %}
