Sha256: aa629c9bc2319303e0ec144574370cb48fdb91bde8d0dcb3525f2e582cb98703
Contents?: true
Size: 966 Bytes
Versions: 29
Compression:
Stored size: 966 Bytes
Contents
<% javascript 'compute_resource', 'lookup_keys' %> <%= text_f f, :name if show_vm_name? %> <% new = @host.nil? || @host.try(:new_record?) %> <%= select_f f, :image, compute_resource.images, :uuid, :name, {}, {:help_inline => :indicator, :label => _('Image') } %> <%= f.hidden_field :template if !new %> <div class='compute_profile'> <%= selectable_f f, :cores, 1..compute_resource.max_cpu_count, { }, :class => "col-md-2", :label => _('Cores') %> <%= selectable_f f, :memory, memory_options(compute_resource.max_memory), { }, :class => "col-md-2", :label => _('Memory') %> </div> <%= text_f f, :cmd, :label => _('Command') %> <% checked = params[:host] && params[:host][:compute_attributes] && params[:host][:compute_attributes][:start] || '1' %> <%= checkbox_f f, :start, { :checked => (checked == '1'), :help_inline => _("Power ON this machine"), :label => _('Start') } if new && controller_name != "compute_attributes" %>
Version data entries
29 entries across 29 versions & 1 rubygems