aboutsummaryrefslogtreecommitdiff
path: root/server/template/html/common/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'server/template/html/common/layout.html')
-rw-r--r--server/template/html/common/layout.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/template/html/common/layout.html b/server/template/html/common/layout.html
index 1675c6c9..bd7836d8 100644
--- a/server/template/html/common/layout.html
+++ b/server/template/html/common/layout.html
@@ -63,6 +63,12 @@
</nav>
</header>
{{ end }}
+ {{ if .flashMessage }}
+ <div class="flash-message alert alert-success">{{ .flashMessage }}</div>
+ {{ end }}
+ {{ if .flashErrorMessage }}
+ <div class="flash-error-message alert alert-error">{{ .flashErrorMessage }}</div>
+ {{ end }}
<main>
{{template "content" .}}
</main>