{{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}}
{{if .PageIsEditMilestone}} {{ctx.Locale.Tr "repo.milestones.cancel"}} {{else}} {{end}}