Revision 1fa008a4
Added by Joseph Magen over 10 years ago
app/views/hosts/select_multiple_location.html.erb | ||
---|---|---|
<%= render 'selected_hosts', :hosts => @hosts %>
|
||
<%= form_for :location, :url => update_multiple_location_hosts_path(:host_ids => params[:host_ids]) do |f| %>
|
||
<%= f.select :id, [[_("Select Location"), "disabled"]] + Location.all.map{|e| [e.name, e.id]},{},
|
||
<%= f.select :id, [[_("Select Location"), "disabled"]] + Location.all.map{|e| [e.label, e.id]},{},
|
||
:onchange => "toggle_multiple_ok_button(this)" %>
|
||
<%= render 'taxonomy_import_option', :f => f, :taxonomy_type => 'Location' %>
|
||
<% end %>
|
Also available in: Unified diff
fixes #3912 - add inheritance for locations / organizations