Merge "Make switched multiple choice field work"
This commit is contained in:
commit
d7722d532f
|
@ -147,7 +147,7 @@ class AddEndpointGroupAction(workflows.Action):
|
||||||
subnets = forms.MultipleChoiceField(
|
subnets = forms.MultipleChoiceField(
|
||||||
required=False,
|
required=False,
|
||||||
label=_("Local System Subnets"),
|
label=_("Local System Subnets"),
|
||||||
widget=forms.ThemableCheckboxSelectMultiple(attrs={
|
widget=forms.CheckboxSelectMultiple(attrs={
|
||||||
'class': 'switched',
|
'class': 'switched',
|
||||||
'data-switch-on': 'type',
|
'data-switch-on': 'type',
|
||||||
'data-type-subnet': _("External System Subnets"),
|
'data-type-subnet': _("External System Subnets"),
|
||||||
|
|
Loading…
Reference in New Issue