diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py
index 8cf21a247..4fffc7082 100644
--- a/netbox/dcim/tables/template_code.py
+++ b/netbox/dcim/tables/template_code.py
@@ -99,7 +99,7 @@ LOCATION_ELEVATIONS = """
#
DEVICE_ASSIGN_LINK = """
-{{ record }}
+{{ record }}
"""
#