From 07be61a5576fcdb7248ad6598dabba540812a31b Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 5 Jun 2020 09:29:26 +0300 Subject: [PATCH] fix detach cdrom problem and cd-rom list's layout problem --- instances/templates/instance.html | 62 +++++++++++++++---------------- instances/views.py | 1 - 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/instances/templates/instance.html b/instances/templates/instance.html index e1a6f42..dfa4dd6 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -738,25 +738,22 @@
-
{% csrf_token %} + {% csrf_token %}

{% trans "Instance Media" %} - {% if status == 5 and allow_admin_or_not_template %} - - {% endif %} -

+
{% for cd in media %}
{% csrf_token %}