diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 24d82d1868..044474ec4e 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -781,6 +781,7 @@ class IPAddressView(generic.ObjectView): 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 a635fbd8b3..c7fbffee7c 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 4ddd199419..3001bffc7b 100644 --- a/netbox/templates/ipam/ipaddress_assign.html +++ b/netbox/templates/ipam/ipaddress_assign.html @@ -12,37 +12,33 @@ {% endblock %} {% block form %} -