mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
589 B
14 lines
589 B
<div class="field {{if not .item.VisibleOnForm}}tw-hidden{{end}}">
|
|
{{template "repo/issue/fields/header" .}}
|
|
{{range $i, $opt := .item.Attributes.options}}
|
|
<div class="field inline">
|
|
<div class="ui checkbox tw-mr-0 {{if and ($opt.visible) (not (SliceUtils.Contains $opt.visible "form"))}}tw-hidden{{end}}">
|
|
<input type="checkbox" name="form-field-{{$.item.ID}}-{{$i}}" {{if $opt.required}}required{{end}}>
|
|
<label>{{ctx.RenderUtils.MarkdownToHtml $opt.label}}</label>
|
|
</div>
|
|
{{if $opt.required}}
|
|
<label class="required"></label>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|