diff --git a/netbox/templates/circuits/circuit.html b/netbox/templates/circuits/circuit.html
index 3bc7f571404..c104b154bef 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 16340ac7b4b..e96d5abcb53 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 e80cb5a24da..3bc7869fe4f 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 a145436b544..97f7c895388 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 3988c77ee82..6bc970174cd 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 3b4b8b1c0cd..eded66fec39 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 a405a8a0954..179697b4f4b 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 6c3d0bbe76e..1e0813e5ce3 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 1b7d2d39237..8e05484d4de 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 9123c1def1e..a2479ca1f78 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 190eebba61f..eb9972406c0 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 00d47c00342..d5f858f153c 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 bfdc43cfe99..ce8cb0a1962 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 76b75275225..8fe98d4da8e 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 3e29ce5c753..4b382636b90 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 5ef7ffa2682..4fa8f44240f 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 28c548f83ac..d3e94b90d51 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 784fe0e3fed..d2967ca5619 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 92cf1b7c908..d17f8e9b916 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 b7ee22a59da..8921c5c65cd 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 4c59bee1d18..e2e66e6b26e 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 a4e7e3a1cc1..2f1a50883a8 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 ea123790e52..24a256691ad 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' %}