Fix Create Repository Template (#12924)

Co-authored-by: zeripath <art27@cantab.net>
tokarchuk/v1.17
6543 4 years ago committed by GitHub
parent 01ad714715
commit ba20dd7a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      templates/repo/create.tmpl

@ -170,14 +170,15 @@
<div class="inline field"> <div class="inline field">
<label>{{.i18n.Tr "repo.settings.trust_model"}}</label> <label>{{.i18n.Tr "repo.settings.trust_model"}}</label>
<div class="ui selection owner dropdown"> <div class="ui selection owner dropdown">
<input type="hidden" id="trust_model" name="trust_model" value="default" required> <input type="hidden" id="trust_model" name="trust_model" value="default" required>
<div class="default text">{{.i18n.Tr "repo.settings.trust_model"}}</div> <div class="default text">{{.i18n.Tr "repo.settings.trust_model"}}</div>
<i class="dropdown icon"></i> <i class="dropdown icon"></i>
<div class="menu"> <div class="menu">
<div class="item" data-value="default">{{.i18n.Tr "repo.settings.trust_model.default"}}</div> <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="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="committer">{{.i18n.Tr "repo.settings.trust_model.committer"}}</div>
<div class="item" data-value="collaboratorcommitter">{{.i18n.Tr "repo.settings.trust_model.collaboratorcommitter"}}</div> <div class="item" data-value="collaboratorcommitter">{{.i18n.Tr "repo.settings.trust_model.collaboratorcommitter"}}</div>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save