mirror of
https://github.com/ae-utbm/sith.git
synced 2025-06-20 01:55:22 +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 = []
|
fields = []
|
||||||
|
|
||||||
groups = forms.ModelMultipleChoiceField(
|
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):
|
def __init__(self, instance: Permission, **kwargs):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user