mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 03:21:12 +00:00
修改bug
This commit is contained in:
parent
73d61e09ed
commit
0d842fe3ec
@ -24,7 +24,7 @@ class UserAddForm(forms.Form):
|
||||
name = forms.CharField(max_length=30,
|
||||
widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': '姓名'}))
|
||||
group = forms.ModelMultipleChoiceField(queryset=Group.objects.all(),
|
||||
widget=forms.MultipleChoiceField(attrs={'class': 'form-control'}))
|
||||
widget=forms.SelectMultiple(attrs={'class': 'form-control'}))
|
||||
is_admin = forms.BooleanField()
|
||||
is_superuser = forms.BooleanField()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user