Don't show hidden labels when filling out an issue template (#31576)

Related to #31574


---
*Sponsored by Kithara Software GmbH*
pull/31527/head^2
6543 5 months ago committed by GitHub
parent 017ea19e5d
commit d7c7a78994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/repo/issue/fields/header.tmpl

@ -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…
Cancel
Save