mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 15:13:53 +03:00
4de2244697
Regression of #23092, the `{{$field := .}}` was missing during that refactoring.
11 lines
342 B
Go HTML Template
11 lines
342 B
Go HTML Template
<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>
|