mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 09:59:24 +02:00
Extract the repeated user and team dropdowns of the branch and tag protection forms into shared templates, keeping the same fields and rendered output. Co-authored-by: Enoque Duarte <12515551+enoquefcd@users.noreply.github.com> Co-authored-by: silverwind <me@silverwind.io>
13 lines
341 B
Handlebars
13 lines
341 B
Handlebars
<div class="ui multiple search selection dropdown">
|
|
<input type="hidden" name="{{.Name}}" value="{{.Value}}">
|
|
<div class="default text">{{ctx.Locale.Tr "search.team_kind"}}</div>
|
|
<div class="menu">
|
|
{{range .Teams}}
|
|
<div class="item" data-value="{{.ID}}">
|
|
{{svg "octicon-people"}}
|
|
{{.Name}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|