{% extends 'base.html' %}

{% load i18n %}

{% block title %}{% trans "Log out" %}{% endblock %}

{% block content %}
<div class="uk-flex uk-flex-center">
  <div class="uk-card uk-card-default uk-card-body uk-margin-large-top">

    <form method="POST" action="{% url "account_logout" %}">
      <legend class="uk-legend">{% trans "Log out" %}</legend>
      <fieldset class="uk-fieldset">
        {% csrf_token %}
        <p>{% trans "Are you sure you want to log out?" %}</p>
        <button type="submit" class="uk-button uk-button-primary">{% trans "Log out" %}</button>
      </fieldset>
    </form>

  </div>
</div>
{% endblock %}
