summaryrefslogtreecommitdiffstats
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-13 12:14:32 -0400
committerUnknwon <u@gogs.io>2015-09-13 12:14:32 -0400
commit5f1183cecf4f3c6bf677369c4e2a2788b795ab15 (patch)
tree84d66a1f584aebb3ec2a8e9e4e53c7ee6d8d738d /templates/install.tmpl
parentb0bf4cc1cb6e68968fa4a6076f57045a268026e9 (diff)
downloadgitea-5f1183cecf4f3c6bf677369c4e2a2788b795ab15.tar.gz
gitea-5f1183cecf4f3c6bf677369c4e2a2788b795ab15.zip
#697 add install option
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index dc76c4154d..5c480961cd 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -170,12 +170,18 @@
</div>
</div>
<div class="inline field">
- <div class="ui checkbox">
+ <div class="ui checkbox" id="disable-registration">
<label class="poping up" data-content="{{.i18n.Tr "install.disable_registration_popup"}}"><strong>{{.i18n.Tr "install.disable_registration"}}</strong></label>
<input name="disable_registration" type="checkbox" {{if .disable_registration}}checked{{end}}>
</div>
</div>
<div class="inline field">
+ <div class="ui checkbox" id="enable-captcha">
+ <label class="poping up" data-content="{{.i18n.Tr "install.enable_captcha_popup"}}"><strong>{{.i18n.Tr "install.enable_captcha"}}</strong></label>
+ <input name="enable_captcha" type="checkbox" {{if .enable_captcha}}checked{{end}}>
+ </div>
+ </div>
+ <div class="inline field">
<div class="ui checkbox">
<label class="poping up" data-content="{{.i18n.Tr "install.require_sign_in_view_popup"}}"><strong>{{.i18n.Tr "install.require_sign_in_view"}}</strong></label>
<input name="require_sign_in_view" type="checkbox" {{if .require_sign_in_view}}checked{{end}}>