Explorar el Código

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

Jeremy Stretch hace 8 años
padre
commit
52a490bf5d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 %}