{% extends 'account/base.html' %}

{% load i18n %}

{% block head_title %}{% trans 'Sign Out' %}{% endblock %}

{% block content %}
<h3 class="mb-2">{% trans 'Sign Out' %}</h3>

<p>
  {% blocktrans trimmed %}
  Are you sure you want to sign out?
  {% endblocktrans %}
</p>

<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 %}
  <div class="flex justify-end">
    <button class="btn btn-primary">
      {% trans 'Sign Out' %}
    </button>
  </div>
</form>
{% endblock %}
