{{if and $.root.SignedUserID (not $.Repository.IsArchived)}}
{{$.root.CsrfTokenHtml}} {{template "shared/combomarkdowneditor" (dict "MarkdownPreviewUrl" (print $.root.Repository.Link "/markup") "MarkdownPreviewContext" $.root.RepoLink "TextareaName" "content" "TextareaPlaceholder" (ctx.Locale.Tr "repo.diff.comment.placeholder") "DropzoneParentContainer" "form" "DisableAutosize" "true" )}} {{if $.root.IsAttachmentEnabled}}
{{template "repo/upload" $.root}}
{{end}}
{{end}}