aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/templates/account/logout.html
blob: 2ce13ea8af4d0e1e3e17877b6d0b42993647ef7f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "account/base.html" %}

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

{% block inner %}


    <div class="container">
        <div class="col-md-12 my-3 p-3 border border-danger rounded">
            <div class="row">
                <div class="col-md-12">
                    <h2>Sign Out</h2>
                    <p>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">Sign Out</button>
                    </form>
                </div>

            </div>

        </div>

    </div>




{% endblock %}