{{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 "MarkdownPreviewUrl" (print .Repository.Link "/markup") "MarkdownPreviewContext" .RepoLink "TextareaName" "content" "TextareaPlaceholder" (ctx.Locale.Tr "repo.milestones.desc") "TextareaAriaLabel" (ctx.Locale.Tr "repo.milestones.desc") "TextareaContent" .content "EasyMDE" true )}}
{{if .PageIsEditMilestone}} {{ctx.Locale.Tr "repo.milestones.cancel"}} {{else}} {{end}}