mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
users: Use checkboxes for groups during create
This commit is contained in:
parent
fcc37a8e28
commit
b0d65b4ead
@ -41,6 +41,7 @@ class CreateUserForm(UserCreationForm):
|
||||
choices=GROUP_CHOICES,
|
||||
label=_('Groups'),
|
||||
required=False,
|
||||
widget=forms.CheckboxSelectMultiple,
|
||||
help_text=_('Select which services should be available to the new '
|
||||
'user. The user will be able to log in to services that '
|
||||
'support single sign-on through LDAP, if they are in the '
|
||||
|
||||
@ -20,6 +20,14 @@
|
||||
|
||||
{% load bootstrap %}
|
||||
|
||||
{% block page_head %}
|
||||
<style type="text/css">
|
||||
.multiple-checkbox li {
|
||||
list-style-type: none;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="row">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user