aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/user')
-rw-r--r--templates/admin/user/edit.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl
index 91fbf781f3..2d9c12e822 100644
--- a/templates/admin/user/edit.tmpl
+++ b/templates/admin/user/edit.tmpl
@@ -97,12 +97,14 @@
<input name="allow_import_local" type="checkbox" {{if .User.CanImportLocal}}checked{{end}}>
</div>
</div>
+ {{if not .DisableRegularOrgCreation}}
<div class="inline field">
<div class="ui checkbox">
<label><strong>{{.i18n.Tr "admin.users.allow_create_organization"}}</strong></label>
<input name="allow_create_organization" type="checkbox" {{if .User.CanCreateOrganization}}checked{{end}}>
</div>
</div>
+ {{end}}
<div class="ui divider"></div>