diff --git a/netbox/templates/circuits/circuit.html b/netbox/templates/circuits/circuit.html
index 3bc7f5714..c104b154b 100644
--- a/netbox/templates/circuits/circuit.html
+++ b/netbox/templates/circuits/circuit.html
@@ -112,7 +112,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='circuits:circuit_list' %}
diff --git a/netbox/templates/circuits/provider.html b/netbox/templates/circuits/provider.html
index 16340ac7b..e96d5abcb 100644
--- a/netbox/templates/circuits/provider.html
+++ b/netbox/templates/circuits/provider.html
@@ -99,7 +99,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='circuits:object_list' %}
diff --git a/netbox/templates/dcim/cable.html b/netbox/templates/dcim/cable.html
index e80cb5a24..3bc7869fe 100644
--- a/netbox/templates/dcim/cable.html
+++ b/netbox/templates/dcim/cable.html
@@ -83,7 +83,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:cable_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/dcim/device/device.html b/netbox/templates/dcim/device/device.html
index a145436b5..97f7c8953 100644
--- a/netbox/templates/dcim/device/device.html
+++ b/netbox/templates/dcim/device/device.html
@@ -187,7 +187,7 @@
{% endif %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:device_list' %}
diff --git a/netbox/templates/dcim/devicetype.html b/netbox/templates/dcim/devicetype.html
index 3988c77ee..6bc970174 100644
--- a/netbox/templates/dcim/devicetype.html
+++ b/netbox/templates/dcim/devicetype.html
@@ -154,7 +154,7 @@
{% plugin_left_page object %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:devicetype_list' %}
diff --git a/netbox/templates/dcim/powerfeed.html b/netbox/templates/dcim/powerfeed.html
index 3b4b8b1c0..eded66fec 100644
--- a/netbox/templates/dcim/powerfeed.html
+++ b/netbox/templates/dcim/powerfeed.html
@@ -150,7 +150,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:powerfeed_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/dcim/powerpanel.html b/netbox/templates/dcim/powerpanel.html
index a405a8a09..179697b4f 100644
--- a/netbox/templates/dcim/powerpanel.html
+++ b/netbox/templates/dcim/powerpanel.html
@@ -85,7 +85,7 @@
{% plugin_left_page object %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:powerpanel_list' %}
{% plugin_right_page object %}
diff --git a/netbox/templates/dcim/rack.html b/netbox/templates/dcim/rack.html
index 6c3d0bbe7..1e0813e5c 100644
--- a/netbox/templates/dcim/rack.html
+++ b/netbox/templates/dcim/rack.html
@@ -203,7 +203,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:rack_list' %}
diff --git a/netbox/templates/dcim/rackreservation.html b/netbox/templates/dcim/rackreservation.html
index 1b7d2d392..8e05484d4 100644
--- a/netbox/templates/dcim/rackreservation.html
+++ b/netbox/templates/dcim/rackreservation.html
@@ -122,7 +122,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:rackreservation_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/dcim/site.html b/netbox/templates/dcim/site.html
index 9123c1def..a2479ca1f 100644
--- a/netbox/templates/dcim/site.html
+++ b/netbox/templates/dcim/site.html
@@ -192,7 +192,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:site_list' %}
diff --git a/netbox/templates/dcim/virtualchassis.html b/netbox/templates/dcim/virtualchassis.html
index 190eebba6..eb9972406 100644
--- a/netbox/templates/dcim/virtualchassis.html
+++ b/netbox/templates/dcim/virtualchassis.html
@@ -78,7 +78,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='dcim:virtualchassis_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/inc/custom_fields_panel.html b/netbox/templates/inc/custom_fields_panel.html
index 00d47c003..d5f858f15 100644
--- a/netbox/templates/inc/custom_fields_panel.html
+++ b/netbox/templates/inc/custom_fields_panel.html
@@ -1,4 +1,4 @@
-{% with custom_fields=obj.get_custom_fields %}
+{% with custom_fields=object.get_custom_fields %}
{% if custom_fields %}
diff --git a/netbox/templates/ipam/aggregate.html b/netbox/templates/ipam/aggregate.html
index bfdc43cfe..ce8cb0a19 100644
--- a/netbox/templates/ipam/aggregate.html
+++ b/netbox/templates/ipam/aggregate.html
@@ -106,7 +106,7 @@
{% plugin_left_page object %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:aggregate_list' %}
{% plugin_right_page object %}
diff --git a/netbox/templates/ipam/ipaddress.html b/netbox/templates/ipam/ipaddress.html
index 76b752752..8fe98d4da 100644
--- a/netbox/templates/ipam/ipaddress.html
+++ b/netbox/templates/ipam/ipaddress.html
@@ -152,7 +152,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:ipaddress_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/ipam/prefix.html b/netbox/templates/ipam/prefix.html
index 3e29ce5c7..4b382636b 100644
--- a/netbox/templates/ipam/prefix.html
+++ b/netbox/templates/ipam/prefix.html
@@ -184,7 +184,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:prefix_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/ipam/routetarget.html b/netbox/templates/ipam/routetarget.html
index 5ef7ffa26..4fa8f4424 100644
--- a/netbox/templates/ipam/routetarget.html
+++ b/netbox/templates/ipam/routetarget.html
@@ -83,7 +83,7 @@
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:routetarget_list' %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/ipam/service.html b/netbox/templates/ipam/service.html
index 28c548f83..d3e94b90d 100644
--- a/netbox/templates/ipam/service.html
+++ b/netbox/templates/ipam/service.html
@@ -81,7 +81,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:service_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/ipam/vlan.html b/netbox/templates/ipam/vlan.html
index 784fe0e3f..d2967ca56 100644
--- a/netbox/templates/ipam/vlan.html
+++ b/netbox/templates/ipam/vlan.html
@@ -140,7 +140,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:vlan_list' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/ipam/vrf.html b/netbox/templates/ipam/vrf.html
index 92cf1b7c9..d17f8e9b9 100644
--- a/netbox/templates/ipam/vrf.html
+++ b/netbox/templates/ipam/vrf.html
@@ -99,7 +99,7 @@
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='ipam:vrf_list' %}
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/secrets/secret.html b/netbox/templates/secrets/secret.html
index b7ee22a59..8921c5c65 100644
--- a/netbox/templates/secrets/secret.html
+++ b/netbox/templates/secrets/secret.html
@@ -66,7 +66,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% plugin_left_page object %}
diff --git a/netbox/templates/tenancy/tenant.html b/netbox/templates/tenancy/tenant.html
index 4c59bee1d..e2e66e6b2 100644
--- a/netbox/templates/tenancy/tenant.html
+++ b/netbox/templates/tenancy/tenant.html
@@ -81,7 +81,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='tenancy:tenant_list' %}
diff --git a/netbox/templates/virtualization/cluster.html b/netbox/templates/virtualization/cluster.html
index a4e7e3a1c..2f1a50883 100644
--- a/netbox/templates/virtualization/cluster.html
+++ b/netbox/templates/virtualization/cluster.html
@@ -109,7 +109,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='virtualization:cluster_list' %}
diff --git a/netbox/templates/virtualization/virtualmachine.html b/netbox/templates/virtualization/virtualmachine.html
index ea123790e..24a256691 100644
--- a/netbox/templates/virtualization/virtualmachine.html
+++ b/netbox/templates/virtualization/virtualmachine.html
@@ -150,7 +150,7 @@
- {% include 'inc/custom_fields_panel.html' with obj=object %}
+ {% include 'inc/custom_fields_panel.html' %}
{% include 'extras/inc/tags_panel.html' with tags=object.tags.all url='virtualization:virtualmachine_list' %}