users: Use checkboxes for groups during create

This commit is contained in:
Sunil Mohan Adapa 2015-07-14 09:44:45 +05:30
parent fcc37a8e28
commit b0d65b4ead
2 changed files with 9 additions and 0 deletions

View File

@ -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 '

View File

@ -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">