mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 21:03:56 +01:00
412633b669
Related to #31574 --- *Sponsored by Kithara Software GmbH* (cherry picked from commit d7c7a789947080be76d94f28f3f7f8788a545f7d)
6 lines
321 B
Go HTML Template
6 lines
321 B
Go HTML Template
{{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}}
|
|
<span class="help">{{RenderMarkdownToHtml .Context .item.Attributes.description}}</span>
|
|
{{end}}
|