aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/templates/account/logout.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/templates/account/logout.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/ctrack/templates/account/logout.html b/ctrack/templates/account/logout.html
new file mode 100644
index 0000000..8e2e675
--- /dev/null
+++ b/ctrack/templates/account/logout.html
@@ -0,0 +1,22 @@
+{% extends "account/base.html" %}
+
+{% load i18n %}
+
+{% block head_title %}{% trans "Sign Out" %}{% endblock %}
+
+{% block inner %}
+<h1>{% trans "Sign Out" %}</h1>
+
+<p>{% 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-danger" type="submit">{% trans 'Sign Out' %}</button>
+</form>
+
+
+{% endblock %}
+