From 23f5a34c8904bccd23f4009549ac327672443d99 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sat, 8 Jan 2022 23:19:36 +0800 Subject: Fix new team (#18212) fix regression from #17811 --- templates/org/team/new.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/org/team/new.tmpl') diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 1cf2dd0236..9877e9a941 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -89,10 +89,10 @@ {{range $t, $unit := $.Units}} - {{if ge $unit.MaxPerms 2}} + {{if ge $unit.MaxPerm 2}} -
{{- else -}}class="field"{{end}}> +
{{$.i18n.Tr $unit.DescKey}} @@ -120,7 +120,7 @@ {{range $t, $unit := $.Units}} - {{if lt $unit.MaxPerms 2}} + {{if lt $unit.MaxPerm 2}}
-- cgit v1.2.3