From d00fd4220d51a1a4a21c77e1fdeb7a862698e967 Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Sun, 17 Nov 2024 21:46:38 -0300 Subject: [PATCH] feat(users): adds session based conditionally rendering --- app/templates/layout/layout.html | 6 ++++++ app/templates/layout/menu.html | 2 ++ 2 files changed, 8 insertions(+) diff --git a/app/templates/layout/layout.html b/app/templates/layout/layout.html index c84d9d5..29abf34 100644 --- a/app/templates/layout/layout.html +++ b/app/templates/layout/layout.html @@ -29,9 +29,15 @@ + {% if not session["id"] %}
Log In
+ {% else %} +
+ Log Out +
+ {% endif %}