mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-19 07:41:03 +00:00
e02e752f68
Backport #23092 Fix #23082. This bug is caused by a nil context in https://github.com/go-gitea/gitea/issues/23082#issuecomment-1441276546 . Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
6 lines
440 B
Handlebars
6 lines
440 B
Handlebars
<div class="field">
|
|
{{template "repo/issue/fields/header" .}}
|
|
{{/* FIXME: preview markdown result */}}
|
|
{{/* FIXME: required validation for markdown editor */}}
|
|
<textarea name="form-field-{{.item.ID}}" placeholder="{{.item.Attributes.placeholder}}" class="edit_area {{if .item.Attributes.render}}no-easymde{{end}}" {{if and .item.Validations.required .item.Attributes.render}}required{{end}}>{{.item.Attributes.value}}</textarea>
|
|
</div>
|