summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/org/team/new.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl
index 020eed384d..2f7c5b268f 100644
--- a/templates/org/team/new.tmpl
+++ b/templates/org/team/new.tmpl
@@ -52,6 +52,21 @@
<div class="ui divider"></div>
{{end}}
+ <div class="required grouped field">
+ <label>{{.i18n.Tr "org.team_unit_desc"}}</label>
+ <br>
+ {{range $t, $unit := $.Units}}
+ <div class="field">
+ <div class="ui toggle checkbox">
+ <input type="checkbox" class="hidden" name="units" value="{{$unit.Type}}"{{if $.Team.EnableUnit $unit.Type}} checked{{end}}>
+ <label>{{$.i18n.Tr $unit.NameKey}}</label>
+ <span class="help">{{$.i18n.Tr $unit.DescKey}}</span>
+ </div>
+ </div>
+ {{end}}
+ </div>
+ <div class="ui divider"></div>
+
<div class="field">
{{if .PageIsOrgTeamsNew}}
<button class="ui green button">{{.i18n.Tr "org.create_new_team"}}</button>