{{template "base/head" .}}
{{template "repo/header" .}} {{template "repo/settings/navbar" .}}
{{template "base/alert" .}}

{{.i18n.Tr "repo.default_branch"}}

{{.i18n.Tr "repo.settings.default_branch_desc"}}

{{.CsrfTokenHtml}} {{if not .Repository.IsEmpty}}
{{end}}

{{.i18n.Tr "repo.settings.protected_branch"}}

{{range .ProtectedBranches}} {{else}} {{end}}
{{.BranchName}}
{{$.i18n.Tr "repo.settings.edit_protected_branch"}}
{{.i18n.Tr "repo.settings.no_protected_branch"}}
{{template "base/footer" .}}