Skip to content

Commit 2e509bd

Browse files
committed
feat(filter): ACLExtendedRule: Instruct new Destinations to be displayed as Tabbed Group
1 parent 3656c26 commit 2e509bd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

netbox_acls/forms/filtersets.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,4 +348,14 @@ class ACLExtendedRuleFilterForm(NetBoxModelFilterSetForm):
348348
),
349349
"source_ports",
350350
),
351+
FieldSet(
352+
TabbedGroups(
353+
FieldSet('destination_prefix', name=_('Prefix')),
354+
FieldSet('destination_iprange', name=_('IP Range')),
355+
FieldSet('destination_ipaddress', name=_('IP Address')),
356+
FieldSet('destination_aggregate', name=_('Aggregate')),
357+
FieldSet('destination_service', name=_('Service')),
358+
),
359+
"destination_ports",
360+
),
351361
)

0 commit comments

Comments
 (0)