Sha256: f042c7292593f4dcc2e64b19da055ce24ab6020e906df56c18b55edc32630a75
Contents?: true
Size: 429 Bytes
Versions: 11
Compression:
Stored size: 429 Bytes
Contents
<div id='templates' class=''> <div class="form-group"> <%= selectable_f f, :hypervisor_host, [[_("Automatic allocation"), ""]] + compute_resource.available_hypervisors.map { |t| [t.name + " - " + (t.metrics.memory_free.to_f / t.metrics.memory_total.to_f * 100).round(2).to_s + "% free mem", t.name] }, {}, :class => 'form-control span2', :disabled => (controller_name != 'hosts'), :label => 'Hypervisor' %> </div> </div>
Version data entries
11 entries across 11 versions & 1 rubygems