mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
fix multiple media selection in instance settings form
This commit is contained in:
parent
14b0751930
commit
6858448b60
1 changed files with 4 additions and 4 deletions
|
@ -546,8 +546,8 @@
|
||||||
<!-- Tab panes -->
|
<!-- Tab panes -->
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div role="tabpanel" class="tab-pane tab-pane-bordered active" id="media">
|
<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 %}
|
{% for cd in media %}
|
||||||
|
<form class="form-horizontal" action="" method="post" role="form">{% csrf_token %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">{% trans "CDROM" %} {{ forloop.counter }}</label>
|
<label class="col-sm-2 control-label">{% trans "CDROM" %} {{ forloop.counter }}</label>
|
||||||
{% if not cd.image %}
|
{% if not cd.image %}
|
||||||
|
@ -579,8 +579,8 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
|
||||||
</form>
|
</form>
|
||||||
|
{% endfor %}
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
{% if request.user.is_superuser %}
|
{% if request.user.is_superuser %}
|
||||||
|
|
Loading…
Reference in a new issue