From dd8701409a7633fc7c0a9b4fe5653fa585f39e69 Mon Sep 17 00:00:00 2001 From: Aatish Neupane Date: Fri, 16 Nov 2018 19:41:53 +0545 Subject: [PATCH] add logout button --- jobs/templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jobs/templates/base.html b/jobs/templates/base.html index b61b777..30127e2 100644 --- a/jobs/templates/base.html +++ b/jobs/templates/base.html @@ -20,6 +20,9 @@ Jobs Post a job + {% if request.user.is_authenticated %} + Logout + {% endif %}