Skip to content

Commit f735eb3

Browse files
committed
feat(form): ACLExtendedRule: Instruct new Destinations to be displayed as Tabbed Group
1 parent 3651f41 commit f735eb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

netbox_acls/forms/models.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,15 @@ class ACLExtendedRuleForm(NetBoxModelForm):
665665
),
666666
"source_ports",
667667
),
668+
FieldSet(
669+
TabbedGroups(
670+
FieldSet('destination_prefix', name=_('Prefix')),
671+
FieldSet('destination_iprange', name=_('IP Range')),
672+
FieldSet('destination_ipaddress', name=_('IP Address')),
673+
FieldSet('destination_aggregate', name=_('Aggregate')),
674+
FieldSet('destination_service', name=_('Service')),
668675
),
676+
"destination_ports",
669677
),
670678
)
671679

0 commit comments

Comments
 (0)