aboutsummaryrefslogtreecommitdiffstats
path: root/templates/install.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/install.tmpl
parentb3f1ae1ba6144b25c937d7b6db085e6b902e74ab (diff)
downloadgitea-af552596cfd7f6fd05dfc38abaaffad1d7fed654.tar.gz
gitea-af552596cfd7f6fd05dfc38abaaffad1d7fed654.zip
Work on form resubmit
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index c70cfa3e6b..3aa64ccd4b 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -3,7 +3,7 @@
<form action="/install" method="post" class="form-horizontal card" id="install-card">
{{.CsrfTokenHtml}}
<h3>Install Steps For First-time Run</h3>
- <div class="alert alert-danger form-error{{if .HasError}}{{else}} hidden{{end}}">{{.ErrorMsg}}</div>
+ {{template "base/alert" .}}
<p class="help-block text-center">Gogs requires MySQL or PostgreSQL, SQLite3 only available for official binary version</p>
<div class="form-group">
<label class="col-md-3 control-label">Database Type: </label>