{{$useMarkdownEditor := not .item.Attributes.render}}
{{template "repo/issue/fields/header" .}} {{/* the real form element to provide the value */}} {{if $useMarkdownEditor}} {{template "shared/combomarkdowneditor" (dict "ContainerClasses" "gt-hidden" "MarkdownPreviewUrl" (print .root.RepoLink "/markup") "MarkdownPreviewContext" .root.RepoLink "TextareaContent" .item.Attributes.value "TextareaPlaceholder" .item.Attributes.placeholder "DropzoneParentContainer" ".combo-editor-dropzone" )}} {{if .root.IsAttachmentEnabled}}
{{template "repo/upload" .root}}
{{end}} {{end}}