mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 20:09:25 +00:00
add forgotten input field label
This commit is contained in:
@ -451,7 +451,10 @@ class PermissionGroupsForm(forms.ModelForm):
|
||||
fields = []
|
||||
|
||||
groups = forms.ModelMultipleChoiceField(
|
||||
Group.objects.all(), widget=AutoCompleteSelectMultipleGroup, required=False
|
||||
Group.objects.all(),
|
||||
label=_("Groups"),
|
||||
widget=AutoCompleteSelectMultipleGroup,
|
||||
required=False,
|
||||
)
|
||||
|
||||
def __init__(self, instance: Permission, **kwargs):
|
||||
|
Reference in New Issue
Block a user