summaryrefslogtreecommitdiffstats
path: root/templates/repo/issue/fields/checkboxes.tmpl
blob: 035ad8e539d1a8a5e31ef325fb0185d0e510132b (plain)
1
2
3
4
5
6
7
8
9
10
11
<div class="field">
	{{template "repo/issue/fields/header" .}}
	{{range $i, $opt := .item.Attributes.options}}
		<div class="field">
			<div class="ui checkbox">
				<input type="checkbox" name="form-field-{{$.item.ID}}-{{$i}}" {{if $opt.required}}readonly checked{{end}}>
				<label>{{$opt.label}}</label>
			</div>
		</div>
	{{end}}
</div>