Sha256: 2360c8c0af995d0db96fac8876042ea57883599d71b7431fdced96b041236601

Contents?: true

Size: 629 Bytes

Versions: 2

Compression:

Stored size: 629 Bytes

Contents

<div class="fields">
  <div class="form-group">
  <%= selectable_f f, :pool_name, compute_resource.storage_pools.map(&:name), { }, :class => "col-md-2", :label => _("Storage pool") %>
  <%= text_f f, :capacity, :class => "col-md-2", :label => _("Size (GB)"), :onchange => 'capacity_edit(this)' %>
  <%= allocation_text_f f %>
    <%= select_f f, :format_type, %w[RAW QCOW2],:downcase, :to_s, { }, :class => "col-md-2", :label => _("Type"),
                   :help_inline => remove_child_link("X", f, { :method => :'_delete', :title => _('remove volume'), :class => 'label label-danger disable-unsupported' }) %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_one-0.2 app/views/compute_resources_vms/form/one/_volume.html.erb
foreman_one-0.1 app/views/compute_resources_vms/form/one/_volume.html.erb