{{$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" "MarkdownPreviewInRepo" $.root.Repository "MarkdownPreviewMode" "comment" "TextareaContent" .item.Attributes.value "TextareaPlaceholder" .item.Attributes.placeholder "DropzoneParentContainer" ".combo-editor-dropzone" )}} {{if .root.IsAttachmentEnabled}}
{{template "repo/upload" .root}}
{{end}} {{end}}