{{template "base/head" .}}
{{template "repo/header" .}} {{template "repo/sidebar" .}}

{{if .PageIsEditRelease}} {{.i18n.Tr "repo.release.edit_release"}}
{{.i18n.Tr "repo.release.edit_subheader"}}
{{else}} {{.i18n.Tr "repo.release.new_release"}}
{{.i18n.Tr "repo.release.new_subheader"}}
{{end}}

{{template "base/alert" .}}
{{.CsrfTokenHtml}}
{{if .PageIsEditRelease}} {{.tag_name}}@{{.tag_target}} {{else}} @ {{.i18n.Tr "repo.release.tag_helper"}} {{end}}
{{.i18n.Tr "repo.release.prerelease_helper"}}
{{if .PageIsEditRelease}} {{.i18n.Tr "repo.release.cancel"}} {{$.i18n.Tr "repo.release.delete_release"}} {{else}} {{end}}
{{if .PageIsEditRelease}} {{end}} {{template "base/footer" .}}