mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 11:31:54 +01:00
a6175b01d9
Fix #23082. This bug is caused by a nil context in https://github.com/go-gitea/gitea/issues/23082#issuecomment-1441276546 . --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
12 lines
359 B
Handlebars
12 lines
359 B
Handlebars
<div class="field">
|
|
{{template "repo/issue/fields/header" .}}
|
|
{{$field := .}}
|
|
{{range $i, $opt := .item.Attributes.options}}
|
|
<div class="field">
|
|
<div class="ui checkbox">
|
|
<input type="checkbox" name="form-field-{{$field.ID}}-{{$i}}" {{if $opt.required}}readonly checked{{end}}>
|
|
<label>{{$opt.label}}</label>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|