Browse Source

Fix unclosed form element

Jeremy Stretch 8 years ago
parent
commit
3b4c8fa49c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      netbox/templates/dcim/device.html

+ 3 - 0
netbox/templates/dcim/device.html

@@ -328,6 +328,9 @@
                      </div>
                 {% endif %}
             </div>
+            {% if perms.dcim.delete_devicebay %}
+                </form>
+            {% endif %}
         {% endif %}
         {% if interfaces or device.device_type.is_network_device %}
             {% if perms.dcim.delete_interface %}