diff options
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/fields/checkboxes.tmpl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/repo/issue/fields/checkboxes.tmpl b/templates/repo/issue/fields/checkboxes.tmpl index 035ad8e539..237f2eb5dd 100644 --- a/templates/repo/issue/fields/checkboxes.tmpl +++ b/templates/repo/issue/fields/checkboxes.tmpl @@ -1,11 +1,14 @@ <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 class="field inline"> + <div class="ui checkbox gt-mr-0"> + <input type="checkbox" name="form-field-{{$.item.ID}}-{{$i}}" {{if $opt.required}}required{{end}}> + <label>{{RenderMarkdownToHtml $.context $opt.label}}</label> </div> + {{if $opt.required}} + <label class="required"></label> + {{end}} </div> {{end}} </div> |