diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2025-07-17 21:52:26 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2025-07-17 21:52:26 +0100 |
| commit | 4b58544300847e5faf19be5baa4eb177a86b2b0f (patch) | |
| tree | 60c43bfe7ec7c1cd46a12db73946aad03ebff01f /web/command/html/authenticate.go | |
| parent | d6a028feb7e7c3657f846889a1c0edf9f22e8dd2 (diff) | |
Add automatic index
Diffstat (limited to 'web/command/html/authenticate.go')
| -rw-r--r-- | web/command/html/authenticate.go | 5 |
1 files changed, 3 insertions, 2 deletions
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"), |
