mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-20 00:39:25 +00:00
add forgotten input field label
This commit is contained in:
@ -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):
|
||||||
|
Reference in New Issue
Block a user