diff --git a/netbox/templates/extras/customfield/attrs/type.html b/netbox/templates/extras/customfield/attrs/type.html index b6f9ff73c..f3b826e35 100644 --- a/netbox/templates/extras/customfield/attrs/type.html +++ b/netbox/templates/extras/customfield/attrs/type.html @@ -1 +1 @@ -{% load helpers %}{{ object.get_type_display }}{% if object.related_object_type %} ({{ object.related_object_type.model|bettertitle }}){% endif %} +{% load helpers %}{{ object.get_type_display }}{% if object.related_object_type %} ({{ object.related_object_type.name|bettertitle }}){% endif %}