mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-09 10:03:16 +00:00
Fix #23082. This bug is caused by a nil context in https://github.com/go-gitea/gitea/issues/23082#issuecomment-1441276546 . --------- 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>
|