Add logout
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
<a href="{% url "profile" %}">
|
||||
<img src="{% static "notes/images/icons/profile.png" %}" alt="Profile" title="Profile" />
|
||||
</a>
|
||||
<form method="post" action="{% url "logout" %}">
|
||||
{% csrf_token %}
|
||||
<button class="logout"><img src="{% static "notes/images/icons/logout.png" %}" alt="Logout" title="Logout" /></button>
|
||||
</form>
|
||||
</header>
|
||||
<main>
|
||||
{% block body %}
|
||||
|
||||
Reference in New Issue
Block a user