aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base/alert.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-10 14:37:43 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-10 14:37:43 -0400
commitaf552596cfd7f6fd05dfc38abaaffad1d7fed654 (patch)
treecf8efb59ef25077f441f2a3ae8bf2ba40f252649 /templates/base/alert.tmpl
parentb3f1ae1ba6144b25c937d7b6db085e6b902e74ab (diff)
downloadgitea-af552596cfd7f6fd05dfc38abaaffad1d7fed654.tar.gz
gitea-af552596cfd7f6fd05dfc38abaaffad1d7fed654.zip
Work on form resubmit
Diffstat (limited to 'templates/base/alert.tmpl')
-rw-r--r--templates/base/alert.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/base/alert.tmpl b/templates/base/alert.tmpl
new file mode 100644
index 0000000000..699314ace7
--- /dev/null
+++ b/templates/base/alert.tmpl
@@ -0,0 +1 @@
+{{if .Flash.ErrorMsg}}<div class="alert alert-danger form-error">{{.Flash.ErrorMsg}}</div>{{end}} \ No newline at end of file