Commit dd870140 authored by Aatish Neupane's avatar Aatish Neupane

add logout button

parent 453cdf86
......@@ -20,6 +20,9 @@
<a class="p-2 text-dark" href="{% url 'jobs:job_list' %}">Jobs</a>
<a class="btn btn-outline-primary" href="{% url 'jobs:job_create' %}">Post a job</a>
{% if request.user.is_authenticated %}
<a class="btn text-dark" href="{% url 'logout' %}">Logout</a>
{% endif %}
<div class="container">
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment