summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/install.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 872982a0ad..d8f05fcaa7 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -43,7 +43,7 @@
<label class="col-md-3 control-label">Database Name: </label>
<div class="col-md-8">
- <input name="database" type="text" class="form-control" placeholder="Type mysql database name" value="{{.DbCfg.Name}}" required="required">
+ <input name="database_name" type="text" class="form-control" placeholder="Type mysql database name" value="{{.DbCfg.Name}}" required="required">
<p class="help-block">Recommend use INNODB engine with utf8_general_ci charset.</p>
</div>
</div>
@@ -64,7 +64,7 @@
<label class="col-md-3 control-label">Path: </label>
<div class="col-md-8">
- <input name="path" class="form-control" placeholder="Type sqlite3 file path" value="{{.DbCfg.Path}}">
+ <input name="database_path" class="form-control" placeholder="Type sqlite3 file path" value="{{.DbCfg.Path}}">
<p class="help-block">The file path of SQLite3 database.</p>
</div>
</div>
@@ -78,7 +78,7 @@
<label class="col-md-3 control-label">Repository Path: </label>
<div class="col-md-8">
- <input name="repo-path" type="text" class="form-control" placeholder="Type your repository directory" value="{{.RepoRootPath}}" required="required">
+ <input name="repo_path" type="text" class="form-control" placeholder="Type your repository directory" value="{{.RepoRootPath}}" required="required">
<p class="help-block">The git copy of each repository is saved in this directory.</p>
</div>
@@ -88,7 +88,7 @@
<label class="col-md-3 control-label">Run User: </label>
<div class="col-md-8">
- <input name="system-user" type="text" class="form-control" placeholder="Type system user name" value="{{.RunUser}}" required="required">
+ <input name="run_user" type="text" class="form-control" placeholder="Type system user name" value="{{.RunUser}}" required="required">
<p class="help-block">The user has access to visit and run Gogs.</p>
</div>
</div>