mirror of
https://github.com/ae-utbm/sith.git
synced 2025-04-19 12:30:15 +00:00
add forgotten input field label
This commit is contained in:
parent
571b3a4e02
commit
ee1bcf2011
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user