summaryrefslogtreecommitdiff
path: root/app/views/flash.html
diff options
context:
space:
mode:
authorHorus_Arch2015-02-18 17:03:41 +0100
committerHorus_Arch2015-02-18 17:03:41 +0100
commitcb5f3037bb18403433c2cfd0271f6bea76906aca (patch)
tree448397529fdbd1660b12001918289e04aa1c7ea6 /app/views/flash.html
parentd6ab45e8ec5f26004b4efc07383245051d546bf3 (diff)
downloadstatuspage-cb5f3037bb18403433c2cfd0271f6bea76906aca.tar.gz
Reimplementation with gorilla toolkit.
Diffstat (limited to 'app/views/flash.html')
-rw-r--r--app/views/flash.html18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/views/flash.html b/app/views/flash.html
deleted file mode 100644
index 9c9ade9..0000000
--- a/app/views/flash.html
+++ /dev/null
@@ -1,18 +0,0 @@
-{{if .flash.success}}
-<div class="alert alert-success">
- {{.flash.success}}
-</div>
-{{end}}
-
-{{if or .errors .flash.error}}
-<div class="alert alert-error">
- {{if .flash.error}}
- {{.flash.error}}
- {{end}}
- <ul style="margin-top:10px;">
- {{range .errors}}
- <li>{{.}}</li>
- {{end}}
- </ul>
-</div>
-{{end}}