Merge pull request '[gitea] week 2024-29 cherry pick (gitea/main -> forgejo)' (#4488) from algernon/wcp/2024-29 into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4488
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-07-16 10:51:36 +00:00
commit feb85faae2
7 changed files with 14 additions and 7 deletions

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