<%= form_tag submit_multiple_destroy_discovered_hosts_path(:host_ids => params[:host_ids]), :onsubmit => "tfm.hosts.table.resetSelection()" do -%> <%= alert :class => 'alert-warning', :text => _("This might take a while, as all hosts, facts and reports will be destroyed as well"), :header => '' %> <% end %> <%= render 'selected_hosts', :hosts => @hosts %>