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

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

{{.i18n.Tr "repo.settings.branch_protection_desc" .Branch.Name | Str2html}}

{{.CsrfTokenHtml}}

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

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

{{if .IsOrgRepo}}

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

{{end}}
{{template "base/footer" .}}