1
0
Fork 0
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:
6543 2024-07-07 21:31:12 -07:00 committed by Gergely Nagy
parent 6e83c39f13
commit 412633b669
No known key found for this signature in database

View file

@ -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}}