diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 3e62142aee0..3f991a7bc07 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -444,6 +444,7 @@ class PrefixDeleteView(PermissionRequiredMixin, ObjectDeleteView): permission_required = 'ipam.delete_prefix' model = Prefix redirect_url = 'ipam:prefix_list' + template_name = 'ipam/prefix_delete.html' class PrefixBulkImportView(PermissionRequiredMixin, BulkImportView): diff --git a/netbox/templates/ipam/prefix_delete.html b/netbox/templates/ipam/prefix_delete.html new file mode 100644 index 00000000000..5ea39dc4c98 --- /dev/null +++ b/netbox/templates/ipam/prefix_delete.html @@ -0,0 +1,5 @@ +{% extends 'utilities/obj_delete.html' %} + +{% block message_extra %} +

Note: This will not delete any child prefixes or IP addresses.

+{% endblock %}