Browse Source

Fixes #461: Display a validation error when attempting to assigning a new child device to a rack face/position

Jeremy Stretch 7 years ago
parent
commit
52a490bf5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/dcim/device_edit.html

+ 1 - 1
netbox/templates/dcim/device_edit.html

@@ -45,7 +45,7 @@
                         </p>
                     </div>
                 </div>
-            {% elif not obj.device_type.is_child_device %}
+            {% else %}
                 {% render_field form.face %}
                 {% render_field form.position %}
             {% endif %}