2022-09-02 01:58:49 -06:00
|
|
|
<div class="field">
|
|
|
|
{{template "repo/issue/fields/header" .}}
|
|
|
|
{{/* FIXME: required validation */}}
|
2023-02-23 23:36:07 -07:00
|
|
|
<div class="ui fluid selection dropdown {{if .item.Attributes.multiple}}multiple clearable{{end}}">
|
|
|
|
<input type="hidden" name="form-field-{{.item.ID}}" value="0">
|
2023-05-01 03:35:02 -06:00
|
|
|
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
|
|
|
|
{{svg "octicon-x" 14 "remove icon"}}
|
2022-09-02 01:58:49 -06:00
|
|
|
<div class="default text"></div>
|
|
|
|
<div class="menu">
|
2023-02-23 23:36:07 -07:00
|
|
|
{{range $i, $opt := .item.Attributes.options}}
|
2022-09-02 01:58:49 -06:00
|
|
|
<div class="item" data-value="{{$i}}">{{$opt}}</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|