From 52a490bf5d86d92957f0409114c4d69c1ed8a6d8 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 28 Jul 2017 10:05:51 -0400 Subject: [PATCH] Fixes #461: Display a validation error when attempting to assigning a new child device to a rack face/position --- netbox/templates/dcim/device_edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/dcim/device_edit.html b/netbox/templates/dcim/device_edit.html index 7bfec5469..07206ca27 100644 --- a/netbox/templates/dcim/device_edit.html +++ b/netbox/templates/dcim/device_edit.html @@ -45,7 +45,7 @@

- {% elif not obj.device_type.is_child_device %} + {% else %} {% render_field form.face %} {% render_field form.position %} {% endif %}