mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 02:09:18 +08:00
4a469c8e1b
Clean up the templates
7 lines
322 B
Handlebars
7 lines
322 B
Handlebars
{{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">{{ctx.RenderUtils.MarkdownToHtml .item.Attributes.description}}</span>
|
|
{{end}}
|