add django-user-accounts
This commit is contained in:
20
templates/account/logout.html
Normal file
20
templates/account/logout.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% trans "Log out" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<form method="POST" action="{% url "account_logout" %}">
|
||||
<legend>{% trans "Log out" %}</legend>
|
||||
<fieldset>
|
||||
{% csrf_token %}
|
||||
<p>{% trans "Are you sure you want to log out?" %}</p>
|
||||
<button type="submit" class="btn btn-primary">{% trans "Log out" %}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user