summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index c4b25c73d8..d5c540724b 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -167,6 +167,19 @@
<label for="default_branch">{{.i18n.Tr "repo.default_branch"}}</label>
<input id="default_branch" name="default_branch" value="{{.default_branch}}" placeholder="{{.default_branch}}">
</div>
+ <div class="inline field">
+ <label>{{.i18n.Tr "repo.settings.trust_model"}}</label>
+ <div class="ui selection owner dropdown">
+ <input type="hidden" id="trust_model" name="trust_model" value="default" required>
+ <div class="default text">{{.i18n.Tr "repo.settings.trust_model"}}</div>
+ <i class="dropdown icon"></i>
+ <div class="menu">
+ <div class="item" data-value="default">{{.i18n.Tr "repo.settings.trust_model.default"}}</div>
+ <div class="item" data-value="collaborator">{{.i18n.Tr "repo.settings.trust_model.collaborator"}}</div>
+ <div class="item" data-value="committer">{{.i18n.Tr "repo.settings.trust_model.committer"}}</div>
+ <div class="item" data-value="collaboratorcommitter">{{.i18n.Tr "repo.settings.trust_model.collaboratorcommitter"}}</div>
+ </div>
+ </div>
</div>
<br/>