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/ovirt/_volume.html.erb
<%= f.hidden_field :size_gb if disabled %>
<%= select_f f, :storage_domain, compute_resource.storage_domains, :id, :name,
{ },:label => "Storage Domain", :disabled => disabled, :class => "span2",
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove volume', :class => 'label important' }) %>
:help_inline => remove_child_link("X", f, { :method => :'_delete', :title => 'remove volume', :class => 'label label-important' }) %>
<%= f.hidden_field :storage_domain if disabled %>
<%= checkbox_f f, :bootable, {:label => "Is Bootable", :disabled => disabled, :checked => (f.object.bootable == 'true'), :help_inline => "Note that only one volume is allowed to be bootable" } %>
<% end -%>

Also available in: Unified diff