{{$useMarkdownEditor := not .item.Attributes.render}}
{{template "repo/issue/fields/header" .}} {{/* the real form element to provide the value */}} {{if $useMarkdownEditor}} {{template "shared/combomarkdowneditor" (dict "CustomInit" true "ContainerClasses" "tw-hidden" "MarkdownEditorContext" (ctx.MiscUtils.MarkdownEditorComment ctx.RootData.Repository) "TextareaContent" .item.Attributes.value "TextareaPlaceholder" .item.Attributes.placeholder "DropzoneParentContainer" ".combo-editor-dropzone" )}} {{if .root.IsAttachmentEnabled}}
{{template "repo/upload" .root}}
{{end}} {{end}}