Sha256: 0c64b142f9d13e25ca484a98cf997d8fe8c1498cf3c2204fc247188da5cb48a0

Contents?: true

Size: 563 Bytes

Versions: 3

Compression:

Stored size: 563 Bytes

Contents

<div class="fields">
  <%
     selected = ""
     size = ""
     if params && params['host'] && params['host']['compute_attributes']
       selected = params['host']['compute_attributes']['VBDs']['print']
       size     = params['host']['compute_attributes']['VBDs']['physical_size']
     end
  -%>
  <%= selectable_f f, :print, compute_resource.storage_pools.map(&:name), { :selected => selected }, :class => "span2", :label => _("Storage Repository") %>
  <%= text_f f, :physical_size, :class => "input-mini", :label => _("Size (GB)"), :value => size %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_xen-0.0.3 app/views/compute_resources_vms/form/_volume.html.erb
foreman_xen-0.0.2 app/views/compute_resources_vms/form/_volume.html.erb
foreman_xen-0.0.1 app/views/compute_resources_vms/form/_volume.html.erb