diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 24d82d18680..044474ec4eb 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -781,6 +781,7 @@ def get_extra_context(self, request, instance): class IPAddressEditView(generic.ObjectEditView): queryset = IPAddress.objects.all() form = forms.IPAddressForm + template_name = 'ipam/ipaddress_edit.html' def alter_object(self, obj, request, url_args, url_kwargs): diff --git a/netbox/templates/ipam/inc/ipaddress_edit_header.html b/netbox/templates/ipam/inc/ipaddress_edit_header.html index a635fbd8b38..c7fbffee7c4 100644 --- a/netbox/templates/ipam/inc/ipaddress_edit_header.html +++ b/netbox/templates/ipam/inc/ipaddress_edit_header.html @@ -3,30 +3,21 @@
diff --git a/netbox/templates/ipam/ipaddress_assign.html b/netbox/templates/ipam/ipaddress_assign.html index 4ddd1994193..3001bffc7bd 100644 --- a/netbox/templates/ipam/ipaddress_assign.html +++ b/netbox/templates/ipam/ipaddress_assign.html @@ -12,37 +12,33 @@ {% endblock %} {% block form %} -