diff --git a/netbox/templates/dcim/location.html b/netbox/templates/dcim/location.html
index 193d93f9a..b6cae1d2a 100644
--- a/netbox/templates/dcim/location.html
+++ b/netbox/templates/dcim/location.html
@@ -66,13 +66,13 @@
{% include 'inc/panels/related_objects.html' %}
{% include 'inc/panels/contacts.html' %}
- {% include 'dcim/inc/nonracked_devices.html' %}
{% include 'inc/panels/image_attachments.html' %}
{% plugin_right_page object %}
+ {% include 'dcim/inc/nonracked_devices.html' %}
{% include 'inc/panels/related_objects.html' %}
- {% include 'dcim/inc/nonracked_devices.html' %}
{% include 'inc/panels/contacts.html' %}
{% plugin_right_page object %}
+ {% include 'dcim/inc/nonracked_devices.html' %}
{% plugin_full_width_page object %}