Project

General

Profile

« Previous | Next » 

Revision 82e47ae0

Added by Amos Benari about 12 years ago

  • ID 82e47ae0f86994702c3a084cc6150250a81034ee

updates UI to bootstrap v2

View differences:

app/views/compute_resources/vms/form/libvirt/_volume.html.erb
<div class="fields">
<%= selectable_f f, :pool_name, compute_resource.storage_pools.map(&:name), { }, :class => "span2", :label => "Storage Pool" %>
<%= text_f f, :capacity, :class => "mini", :label => "Size (GB)" %>
<%= text_f f, :capacity, :class => "input-mini", :label => "Size (GB)" %>
<%= select_f f, :format_type, %w[RAW QCOW2],:downcase, :to_s, { }, :class => "span2", :label => "Type",
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove network interface', :class => 'label important' }) %>
</div>

Also available in: Unified diff