From 388280e003c13fdcacd633fdb0ef0a3a16a50510 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Tue, 27 Jan 2026 13:50:18 +0100 Subject: [PATCH] fix(ipam): Add scope fields to "Add Prefix" button Update the "Add Prefix" button URL in the child prefixes view to pass `scope_type` and `scope` (replacing the legacy `site` query parameter). This allows the prefix creation form to inherit the parent prefix scope and scope type as expected. Fixes #21262 --- netbox/templates/ipam/prefix/prefixes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/ipam/prefix/prefixes.html b/netbox/templates/ipam/prefix/prefixes.html index 4261c3c36..66d9643c6 100644 --- a/netbox/templates/ipam/prefix/prefixes.html +++ b/netbox/templates/ipam/prefix/prefixes.html @@ -6,7 +6,7 @@ {% include 'ipam/inc/max_depth.html' %} {% include 'ipam/inc/max_length.html' %} {% if perms.ipam.add_prefix and first_available_prefix %} - + {% trans "Add Prefix" %} {% endif %}