Skip to content

Commit ccfb3fa

Browse files
committed
feat(form): ACLExtendedRule: Instruct new Destinations to be displayed as Tabbed Group
1 parent 72ef307 commit ccfb3fa

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
@@ -682,7 +682,15 @@ class ACLExtendedRuleForm(NetBoxModelForm):
682682
),
683683
"source_ports",
684684
),
685+
FieldSet(
686+
TabbedGroups(
687+
FieldSet('destination_prefix', name=_('Prefix')),
688+
FieldSet('destination_iprange', name=_('IP Range')),
689+
FieldSet('destination_ipaddress', name=_('IP Address')),
690+
FieldSet('destination_aggregate', name=_('Aggregate')),
691+
FieldSet('destination_service', name=_('Service')),
685692
),
693+
"destination_ports",
686694
),
687695
)
688696
class Meta:

0 commit comments

Comments
 (0)