Sha256: f6272a44e974a66102ee77a0426e68424cfd4e4fabd8398db6f78d0721fa5675

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 Bytes

Contents

<%= 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]},{},
        :onchange => "toggle_multiple_ok_button(this)" %>
  <%= render 'taxonomy_import_option', :f => f, :taxonomy_type => 'Location' %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/hosts/select_multiple_location.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/hosts/select_multiple_location.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/hosts/select_multiple_location.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/hosts/select_multiple_location.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/hosts/select_multiple_location.html.erb