{% extends "account/base.html" %}
{% load static i18n %}

{% block head_title %}{% trans "Sign Out" %}{% endblock%}
{% block auth_title %}{% trans "Sign Out" %}{% endblock%}

{% block auth_body %}

  <p class="login-box-msg">{% trans 'Are you sure you want to sign out?' %}</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 %}
    <button class="btn btn-primary w-100 mb-3" type="submit">{% trans "Logout Now" %}</button>
    <p class="mb-1 text-center">
        <a class="btn btn-default d-block" href="{% url 'account_profile' %}">{% trans "Back To Your Profile" %}</a>
    </p>
  </form>

{% endblock %}
