Skip to content

Commit

Permalink
Fix #610
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jan 10, 2025
1 parent b515ae7 commit 39212ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/vminfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ <h5 class="modal-title" id="managevm_resize_label">VM resize</h5>
</div>
<div class="col">
{% set memory_parts = memory.split() %}
Memory (GiB): <input name="memory" class="col-sm-12" type="number" min="0" value="{{ memory_parts[0] | float }}" required/>
Memory (GiB): <input name="memory" class="col-sm-12" type="number" min="0" step="0.01" value="{{ memory_parts[0] | float }}" required/>
</div>
</div>

Expand All @@ -342,7 +342,7 @@ <h5 class="modal-title" id="managevm_resize_label">VM resize</h5>
</div>
<div class="col">
{% set disk_size_parts = disk_size.split() %}
Disk Size (GiB): <input name="disk_size" class="col-sm-12" type="number" min="0" value="{{ disk_size_parts[0] | float }}"/>
Disk Size (GiB): <input name="disk_size" class="col-sm-12" type="number" min="0" step="0.01" value="{{ disk_size_parts[0] | float }}"/>
</div>
</div>

Expand Down

0 comments on commit 39212ca

Please sign in to comment.