From 5dc4774ed3380762b4d7aadc86193af6073c456a Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Mon, 11 Dec 2023 13:57:51 +0000 Subject: implement log-out --- templates/base.rs.html | 8 ++++---- templates/home.rs.html | 10 ++++++++++ templates/login.rs.html | 2 +- templates/signup.rs.html | 2 +- templates/users.rs.html | 4 ++-- 5 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 templates/home.rs.html (limited to 'templates') diff --git a/templates/base.rs.html b/templates/base.rs.html index 64a8d4e..0bf70eb 100644 --- a/templates/base.rs.html +++ b/templates/base.rs.html @@ -1,7 +1,7 @@ @use super::statics::*; @use crate::Notification; -@(authenticated: bool, notification: Option, body: Content) +@(user: Option, notification: Option, body: Content) @@ -15,9 +15,9 @@