{% extends "base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Sign Out" %}{% endblock %}
{% block content %}
  <section class="section">
    <div class="container has-text-centered">
      <h1 class="title">{% trans "Sign Out" %}</h1>
      <div class="block">{% trans 'Are you sure you want to sign out?' %}</div>
      <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="field mt-4">
	  <button type="submit" class="button is-primary">{% trans 'Sign Out' %}</button>
	</div>
      </form>
    </div>
  </section>
{% endblock %}
