Skip to content

Commit f8cd877

Browse files
committed
feat(filter): ACLExtendedRule: Instruct new Destinations to be displayed as Tabbed Group
1 parent 834ab7d commit f8cd877

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
@@ -335,4 +335,14 @@ class ACLExtendedRuleFilterForm(NetBoxModelFilterSetForm):
335335
),
336336
"source_ports",
337337
),
338+
FieldSet(
339+
TabbedGroups(
340+
FieldSet('destination_prefix', name=_('Prefix')),
341+
FieldSet('destination_iprange', name=_('IP Range')),
342+
FieldSet('destination_ipaddress', name=_('IP Address')),
343+
FieldSet('destination_aggregate', name=_('Aggregate')),
344+
FieldSet('destination_service', name=_('Service')),
345+
),
346+
"destination_ports",
347+
),
338348
)

0 commit comments

Comments
 (0)