aboutsummaryrefslogtreecommitdiff
path: root/templates/install.tmpl
diff options
context:
space:
mode:
authorVamsi Atluri <vamc19@gmail.com>2023-02-11 14:07:24 +0530
committerGitHub <noreply@github.com>2023-02-11 16:37:24 +0800
commitef1fe1bb3bb495cef55c67f9af13065e2415bea0 (patch)
treec97cf90200c47f9ed8fc5a0785d30c65583d6621 /templates/install.tmpl
parent8350daf505b837984397679f07ccc2324b4d2451 (diff)
conf: add new config option for default branch name (#7291)
Co-authored-by: Vamsi Atluri <me@vamc19.dev> Co-authored-by: Joe Chen <jc@unknwon.io>
Diffstat (limited to 'templates/install.tmpl')
-rw-r--r--templates/install.tmpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl
index 49d1a814..d06be82f 100644
--- a/templates/install.tmpl
+++ b/templates/install.tmpl
@@ -130,7 +130,10 @@
<input name="enable_console_mode" type="checkbox" {{if .enable_console_mode}}checked{{end}}>
</div>
</div>
-
+ <div class="inline required field">
+ <label for="default_branch">{{.i18n.Tr "install.default_branch"}}</label>
+ <input id="default_branch" name="default_branch" value="{{.default_branch}}" required>
+ </div>
<!-- Optional Settings -->
<h4 class="ui dividing header">{{.i18n.Tr "install.optional_title"}}</h4>