{{template "org/header" .}}
{{.CsrfTokenHtml}}

{{if .PageIsOrgTeamsNew}}{{ctx.Locale.Tr "org.create_new_team"}}{{else}}{{ctx.Locale.Tr "org.teams.settings"}}{{end}}

{{template "base/alert" .}}
{{if eq .Team.LowerName "owners"}} {{end}} {{ctx.Locale.Tr "org.team_name_helper"}}
{{ctx.Locale.Tr "org.team_desc_helper"}}
{{if not (eq .Team.LowerName "owners")}}
{{ctx.Locale.Tr "org.team_access_desc"}}
{{ctx.Locale.Tr "org.team_permission_desc"}}
{{ctx.Locale.Tr "org.team_unit_desc"}} {{ctx.Locale.Tr "org.teams.none_access_helper"}} {{range $t, $unit := $.Units}} {{if ge $unit.MaxPerm 2}} {{end}} {{end}}
{{ctx.Locale.Tr "units.unit"}} {{ctx.Locale.Tr "org.teams.none_access"}} {{ctx.Locale.Tr "org.teams.read_access"}} {{ctx.Locale.Tr "org.teams.write_access"}}
{{range $t, $unit := $.Units}} {{if lt $unit.MaxPerm 2}} {{end}} {{end}}
{{end}}
{{if .PageIsOrgTeamsNew}} {{else}} {{if not (eq .Team.LowerName "owners")}} {{end}} {{end}}