Explorar o código

Fix unclosed form element

Jeremy Stretch %!s(int64=9) %!d(string=hai) anos
pai
achega
3b4c8fa49c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 %}