diff options
Diffstat (limited to 'server/template/common.go')
-rw-r--r-- | server/template/common.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/server/template/common.go b/server/template/common.go index 555db16..6e7b8b9 100644 --- a/server/template/common.go +++ b/server/template/common.go @@ -1,5 +1,5 @@ // Code generated by go generate; DO NOT EDIT. -// 2017-12-15 21:24:38.377969493 -0800 PST m=+0.007061903 +// 2017-12-16 17:48:32.321995978 -0800 PST m=+0.055632657 package template @@ -88,6 +88,12 @@ var templateCommonMap = map[string]string{ </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> @@ -118,6 +124,6 @@ var templateCommonMap = map[string]string{ var templateCommonMapChecksums = map[string]string{ "entry_pagination": "f1465fa70f585ae8043b200ec9de5bf437ffbb0c19fb7aefc015c3555614ee27", - "layout": "100d1ffff506b9cdd4c28233ff883c323452ea01fa224ff891d4ad69997b62b1", + "layout": "ff5e3d87a48e4d3aeceda4aabe6c2c2f607006c6b6e83dfcab6c5eb255a1e6f2", "pagination": "6ff462c2b2a53bc5448b651da017f40a39f1d4f16cef4b2f09784f0797286924", } |