From 4b58544300847e5faf19be5baa4eb177a86b2b0f Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Thu, 17 Jul 2025 21:52:26 +0100 Subject: Add automatic index --- web/command/html/authenticate.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/command/html/authenticate.go') diff --git a/web/command/html/authenticate.go b/web/command/html/authenticate.go index c077529..3d85325 100644 --- a/web/command/html/authenticate.go +++ b/web/command/html/authenticate.go @@ -1,15 +1,16 @@ package html import ( + . "github.com/LMBishop/scrapbook/web/skeleton" . "maragu.dev/gomponents" . "maragu.dev/gomponents/html" ) func AuthenticatePage(err string) Node { - return page("Authenticate", + return Page("Authenticate", H1(Text("Welcome to scrapbook")), - If(err != "", alertError(err)), + If(err != "", AlertError(err)), Form( Action("/authenticate"), -- cgit v1.2.3-70-g09d2