mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +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,
|
choices=GROUP_CHOICES,
|
||||||
label=_('Groups'),
|
label=_('Groups'),
|
||||||
required=False,
|
required=False,
|
||||||
|
widget=forms.CheckboxSelectMultiple,
|
||||||
help_text=_('Select which services should be available to the new '
|
help_text=_('Select which services should be available to the new '
|
||||||
'user. The user will be able to log in to services that '
|
'user. The user will be able to log in to services that '
|
||||||
'support single sign-on through LDAP, if they are in the '
|
'support single sign-on through LDAP, if they are in the '
|
||||||
|
|||||||
@ -20,6 +20,14 @@
|
|||||||
|
|
||||||
{% load bootstrap %}
|
{% load bootstrap %}
|
||||||
|
|
||||||
|
{% block page_head %}
|
||||||
|
<style type="text/css">
|
||||||
|
.multiple-checkbox li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user