aboutsummaryrefslogtreecommitdiff
path: root/ui/templates/messages.tmpl.html
diff options
context:
space:
mode:
authorAlexander Kavon <hawk@alexkavon.com>2023-12-01 00:45:31 -0500
committerAlexander Kavon <hawk@alexkavon.com>2023-12-01 00:45:31 -0500
commitbc47e526e962c1c5bce850de312c6e5fbaf16458 (patch)
treec3a832edf869e75e3fd87494939a34a846778431 /ui/templates/messages.tmpl.html
parent17af6e1a5017285b680a7d0a1dace1e1a1612ab9 (diff)
settled on map[string]interface{} for passing data to view, automatically append session struct, fixed nil session checks, updated templates to use map variable names
Diffstat (limited to 'ui/templates/messages.tmpl.html')
-rw-r--r--ui/templates/messages.tmpl.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/templates/messages.tmpl.html b/ui/templates/messages.tmpl.html
index b9d327f..dd5bfb1 100644
--- a/ui/templates/messages.tmpl.html
+++ b/ui/templates/messages.tmpl.html
@@ -1,8 +1,8 @@
{{define "messages"}}
<div id="messages">
- {{ if .Message }}
+ {{ if .message }}
<div class="c-alert c-alert--info" role="alert">
- {{.Message}}
+ {{ .message }}
</div>
{{ end }}
</div>