Add logout

This commit is contained in:
2025-12-12 11:09:55 +05:30
parent 07dcb72deb
commit 5c0289e715
5 changed files with 13 additions and 1 deletions

View File

@@ -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 %}