mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 09:41:11 -05:00
Don't show hidden labels when filling out an issue template (#31576)
Related to #31574 --- *Sponsored by Kithara Software GmbH* (cherry picked from commit d7c7a789947080be76d94f28f3f7f8788a545f7d)
This commit is contained in:
parent
6e83c39f13
commit
412633b669
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{{if .item.Attributes.label}}
|
{{if and (.item.Attributes.label) (not .item.Attributes.hide_label)}}
|
||||||
<h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
|
<h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .item.Attributes.description}}
|
{{if .item.Attributes.description}}
|
||||||
|
|
Loading…
Reference in a new issue