diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-12-01 00:45:31 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-12-01 00:45:31 -0500 |
| commit | bc47e526e962c1c5bce850de312c6e5fbaf16458 (patch) | |
| tree | c3a832edf869e75e3fd87494939a34a846778431 /ui/templates/messages.tmpl.html | |
| parent | 17af6e1a5017285b680a7d0a1dace1e1a1612ab9 (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.html | 4 |
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> |
