uncloud/matrixhosting/templates/account/logout.html
2021-07-30 10:13:50 +02:00

18 lines
674 B
HTML

{% extends "account/base.html" %}
{% load i18n %}
{% block head_title %}{% trans "Sign Out" %}{% endblock %}
{% block content %}
<h3 class="font-weight-400 mb-4">{% trans "Sign Out" %}</h3>
<p class="text-3 text-center text-muted">{% trans 'Are you sure you want to sign out?' %}</p>
<form id="signoutForm" 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 btn-block my-4" type="submit">{% trans 'Sign Out' %}</button>
</form>
{% endblock %}