1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00

fix multiple media selection in instance settings form

This commit is contained in:
Ing. Jan KRCMAR 2017-04-20 14:45:01 +02:00
parent 14b0751930
commit 6858448b60

View file

@ -546,8 +546,8 @@
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane tab-pane-bordered active" id="media">
<form class="form-horizontal" action="" method="post" role="form">{% csrf_token %}
{% for cd in media %}
<form class="form-horizontal" action="" method="post" role="form">{% csrf_token %}
<div class="form-group">
<label class="col-sm-2 control-label">{% trans "CDROM" %} {{ forloop.counter }}</label>
{% if not cd.image %}
@ -579,8 +579,8 @@
</div>
{% endif %}
</div>
{% endfor %}
</form>
{% endfor %}
<div class="clearfix"></div>
</div>
{% if request.user.is_superuser %}