diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 11:40:43 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-31 11:40:43 +0100 |
commit | 5c6b9e60547a5884b7debe450aa0ddaea075d4f9 (patch) | |
tree | 3aa263142f691d311f754da53b8a31dfaad23928 /ctrack/templates/account | |
parent | 9917bd1793d0362b84704d0ad4409be4ec9dbdd3 (diff) |
working on user groups and tests
Diffstat (limited to 'ctrack/templates/account')
-rw-r--r-- | ctrack/templates/account/logout.html | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/ctrack/templates/account/logout.html b/ctrack/templates/account/logout.html index 8e2e675..2ce13ea 100644 --- a/ctrack/templates/account/logout.html +++ b/ctrack/templates/account/logout.html @@ -1,21 +1,32 @@ {% extends "account/base.html" %} -{% load i18n %} - -{% block head_title %}{% trans "Sign Out" %}{% endblock %} +{% block head_title %}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> + <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 %} |