mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-23 00:38:39 +00:00
Fix form bug
This commit is contained in:
@@ -123,7 +123,7 @@ class UserBulkUpdateForm(forms.ModelForm):
|
||||
required=True,
|
||||
help_text='* required',
|
||||
label=_('Select users'),
|
||||
choices=[(user.id, user.name ) for user in User.objects.all()],
|
||||
# choices=[(user.id, user.name) for user in User.objects.all()],
|
||||
widget=forms.SelectMultiple(
|
||||
attrs={
|
||||
'class': 'select2',
|
||||
|
Reference in New Issue
Block a user