From fbf0f6250dadf3fb3ba70b8b8f40b2c265b09939 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 12 Feb 2024 04:50:44 +0000 Subject: An Operations list page now renders data in table The data is fetched from the database and uses html/template to render the rows in a list. A critical bug was not including the dot in {{ template "main" . }} in the base template. THIS MEANT THAT NO DATA PASSED TO ExecuteTemplate function rendered and took a long time to figure out. --- ui/html/base.tmpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/html/base.tmpl.html') diff --git a/ui/html/base.tmpl.html b/ui/html/base.tmpl.html index 91bdbc2..58122a0 100644 --- a/ui/html/base.tmpl.html +++ b/ui/html/base.tmpl.html @@ -14,7 +14,7 @@ {{ template "nav" . }}
- {{ template "main" }} + {{ template "main" . }}
-- cgit v1.2.3