
<%= text_f f,:size_gb, :label => _('Size (GB)'), :disabled => !new_host, :class => "col-md-2" %>
<%= f.hidden_field :size_gb if !new_host %>
<%= select_f f, :storage_domain, compute_resource.storage_domains, :id, :name,
             { }, :label => _('Storage domain'), :disabled => !new_host, :class => "col-md-2 without_select2" %>
<%= f.hidden_field :storage_domain if !new_host %>
<%= f.hidden_field :id %>

<%= checkbox_f f, :preallocate, { :checked => false, :help_inline => _('Uses thin provisioning if unchecked'), :label => _('Preallocate disk') } %>

<%= field(f, :bootable, :label => _('Bootable')) do
    radio_button_f f, :bootable, {:disabled => !new_host, :value=>'true', :checked => (f.object.bootable == 'true'), :onclick => 'bootable_radio(this)',
    :text => _('Only one volume can be bootable')}
end %>
