{{template "repo/header" .}}
{{template "repo/issue/navbar" .}} {{if and (or .CanWriteIssues .CanWritePulls) .PageIsEditMilestone}} {{end}}

{{if .PageIsEditMilestone}} {{ctx.Locale.Tr "repo.milestones.edit"}}
{{ctx.Locale.Tr "repo.milestones.edit_subheader"}}
{{else}} {{ctx.Locale.Tr "repo.milestones.new"}}
{{ctx.Locale.Tr "repo.milestones.new_subheader"}}
{{end}}

{{template "base/alert" .}}
{{.CsrfTokenHtml}}
{{template "shared/combomarkdowneditor" (dict "MarkdownPreviewInRepo" $.Repository "MarkdownPreviewMode" "comment" "TextareaName" "content" "TextareaContent" .content "TextareaPlaceholder" (ctx.Locale.Tr "repo.milestones.desc") )}}
{{if .PageIsEditMilestone}} {{ctx.Locale.Tr "repo.milestones.cancel"}} {{else}} {{end}}