Sha256: aef0aaa56948c1322ab0a3e6618c398167757c1a584273c7e3226b50f5219d0e

Contents?: true

Size: 777 Bytes

Versions: 4

Compression:

Stored size: 777 Bytes

Contents

<%= render 'hosts/selected_hosts', :hosts => @hosts %>

<% if @hosts.empty? %>
  <%= _('No capable hosts selected') %>
<% else %>
  <%= form_for :snapshot, :url => create_multiple_host_snapshots_path(:host_ids => @hosts.map{ | h| h.id}) do |f| %>
    <%= text_f f, :name,
      { :label => _("Snapshot")}
    %>
    <%= textarea_f f, :description,
      { :label => _("Description")}
    %>
    <%= selectable_f f, :snapshot_mode, {'Quiesce' => 'quiesce', 'Include RAM' => 'memory'},
        {:include_blank => true}, {
        :label => _("Snapshot Mode"),
        :label_help => _("Select Snapshot Mode between mutually exclusive options, 'Memory' (includes RAM) and 'Quiesce'."),
        :onchange => "tfm.hosts.table.toggleMultipleOkButton(this)"} %>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_snapshot_management-4.0.0 app/views/foreman_snapshot_management/snapshots/select_multiple_host.html.erb
foreman_snapshot_management-3.0.1 app/views/foreman_snapshot_management/snapshots/select_multiple_host.html.erb
foreman_snapshot_management-3.0.0 app/views/foreman_snapshot_management/snapshots/select_multiple_host.html.erb
foreman_snapshot_management-2.0.3 app/views/foreman_snapshot_management/snapshots/select_multiple_host.html.erb