We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9ce570 commit 4de2244Copy full SHA for 4de2244
templates/repo/issue/fields/checkboxes.tmpl
@@ -1,10 +1,9 @@
1
<div class="field">
2
{{template "repo/issue/fields/header" .}}
3
- {{$field := .}}
4
{{range $i, $opt := .item.Attributes.options}}
5
6
<div class="ui checkbox">
7
- <input type="checkbox" name="form-field-{{$field.ID}}-{{$i}}" {{if $opt.required}}readonly checked{{end}}>
+ <input type="checkbox" name="form-field-{{$.item.ID}}-{{$i}}" {{if $opt.required}}readonly checked{{end}}>
8
<label>{{$opt.label}}</label>
9
</div>
10
0 commit comments