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

<%= form_for :environment, :url => update_multiple_environment_hosts_path(:host_ids => params[:host_ids]) do |f| %>
    <%= f.select :id, [[_("Select environment"), "disabled"],
                        [_("*Clear environment*"), "" ],
                        [_("*Inherit from host group*"), "inherit"]] + Environment.all.map{|e| [e.name, e.id]},{},
                 :onchange => "toggle_multiple_ok_button(this)" %>
<% end %>
