Revision e761f186
Added by B Sh almost 10 years ago
app/views/hosts/select_multiple_environment.html.erb | ||
---|---|---|
<%= 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"],
|
||
<%= selectable_f f, :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)" %>
|
Also available in: Unified diff
fixes #7082 - combo box style in host multi-select popup windows
Fixing the combo-box style in app/views/hosts/select_multiple_* pages.
Using selectable_f from app/helpers/layout_helper.rb instead.