mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-19 01:35:59 -04:00
12 lines
424 B
Cheetah
12 lines
424 B
Cheetah
{{if .PageIsSettingsHooksNew}}
|
|
<div id="hook-type" class="form-align">
|
|
<label class="req">{{.i18n.Tr "repo.settings.hook_type"}}</label>
|
|
<select name="hook_type" id="hook-type" class="form-control">
|
|
{{if .HookType}}<option value="{{.HookType}}">{{.HookType}}</option>{{end}}
|
|
{{range .HookTypes}}
|
|
{{if not (eq $.HookType .)}}<option value="{{.}}" >{{.}}</option>{{end}}
|
|
{{end}}
|
|
</select>
|
|
</div>
|
|
{{end}}
|