|
<%= render 'selected_hosts', :hosts => @hosts %>
|
|
|
|
<%= form_for :power, :url => update_multiple_power_state_hosts_path(:host_ids => params[:host_ids]) do |f| %>
|
|
<%= selectable_f f,
|
|
:action,
|
|
[[_("Select desired state"), "disabled"]] +
|
|
PowerManager::REAL_ACTIONS.map { |a| [_(a.to_s.capitalize), a] },
|
|
{},
|
|
{ :label => _("Power"), :onchange => "tfm.hosts.table.toggleMultipleOkButton(this)" }
|
|
%>
|
|
<% end %>
|