From 6858448b60dd5ee7b08fe035b85198295a593b34 Mon Sep 17 00:00:00 2001 From: "Ing. Jan KRCMAR" Date: Thu, 20 Apr 2017 14:45:01 +0200 Subject: [PATCH] fix multiple media selection in instance settings form --- instances/templates/instance.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/instances/templates/instance.html b/instances/templates/instance.html index f795687..7de295b 100644 --- a/instances/templates/instance.html +++ b/instances/templates/instance.html @@ -546,8 +546,8 @@
-
{% csrf_token %} - {% for cd in media %} + {% for cd in media %} + {% csrf_token %}
{% if not cd.image %} @@ -579,8 +579,8 @@
{% endif %}
- {% endfor %} - + + {% endfor %}
{% if request.user.is_superuser %}