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:
6543 2024-07-07 21:31:12 -07:00 committed by GitHub
parent 017ea19e5d
commit d7c7a78994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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>
{{end}}
{{if .item.Attributes.description}}