summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-18 22:29:02 +0800
committerUnknwon <u@gogs.io>2015-08-18 22:29:02 +0800
commitc20ae8edc515b4d2bd8e8206392c811f3af1b08e (patch)
tree2d6f3ec851bef93de1044788380b9473130d4ed5 /templates/install.tmpl
parent6235bd1fe9ed15c9a889f72e4fe2880189963306 (diff)
downloadgitea-c20ae8edc515b4d2bd8e8206392c811f3af1b08e.tar.gz
gitea-c20ae8edc515b4d2bd8e8206392c811f3af1b08e.zip
update Docker README
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 24d227d490..e28468f07b 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -9,8 +9,6 @@
{{template "base/alert" .}}
<form class="ui form" action="{{AppSubUrl}}/install" method="post">
- {{.CsrfTokenHtml}}
-
<!-- Dtabase Settings -->
<h4 class="ui dividing header">{{.i18n.Tr "install.db_title"}}</h4>
<p>{{.i18n.Tr "install.requite_db_desc"}}</p>
@@ -65,7 +63,7 @@
</div>
<div id="sqlite_settings" class="{{if not (eq .CurDbOption "SQLite3")}}hide{{end}}">
- <div class="inline required field {{if .Err_DbPath}}error{{end}}">
+ <div class="inline required field {{if or .Err_DbPath .Err_DbSetting}}error{{end}}">
<label for="db_path">{{.i18n.Tr "install.path"}}</label>
<input id="db_path" name="db_path" value="{{.db_path}}">
<span class="help">{{.i18n.Tr "install.sqlite_helper"}}</span>