mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 14:17:02 +01:00
Don't show hidden labels when filling out an issue template (#31576)
Related to #31574 --- *Sponsored by Kithara Software GmbH*
This commit is contained in:
parent
017ea19e5d
commit
d7c7a78994
@ -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 New Issue
Block a user