{{if and ctx.RootData.SignedUserID (not ctx.RootData.Repository.IsArchived)}}
{{template "shared/combomarkdowneditor" (dict "CustomInit" true "MarkdownEditorContext" (ctx.MiscUtils.MarkdownEditorComment ctx.RootData.Repository) "TextareaName" "content" "TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder") "DropzoneParentContainer" "form" "DisableAutosize" "true" )}}
{{if $.root.IsAttachmentEnabled}}
{{template "repo/upload" $.root}}
{{end}}
{{end}}