1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

correct value=true of checked checkboxes

This commit is contained in:
Jan Krcmar 2016-01-20 14:49:49 +01:00
parent d4fa71ff25
commit 4ab8561360

View file

@ -755,7 +755,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Live migration" %}</label>
<div class="col-sm-6">
<input type="checkbox" name="live_migrate" id="vm_live_migrate" checked>
<input type="checkbox" name="live_migrate" value="true" id="vm_live_migrate" checked>
</div>
</div>
<div class="form-group">
@ -767,7 +767,7 @@
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Delete original" %}</label>
<div class="col-sm-6">
<input type="checkbox" name="xml_delete" id="xml_delete" checked>
<input type="checkbox" name="xml_delete" value="true" id="xml_delete" checked>
</div>
</div>
{% if computes_count != 1 %}
@ -880,7 +880,7 @@
<form class="form-group" method="post" role="form">{% csrf_token %}
<div class="checkbox" style="margin-left: 8px;">
<label>
<input type="checkbox" name="delete_disk" checked>
<input type="checkbox" name="delete_disk" value="true" checked>
<strong>{% trans "Remove Instance's data" %}</strong>
</label>
</div>