Sha256: 3d9262be1c233a3d3d25afe87600089305545a65617e5bd4fd6559e89f757716

Contents?: true

Size: 497 Bytes

Versions: 49

Compression:

Stored size: 497 Bytes

Contents

<%= render 'selected_hosts', :hosts => @hosts %>
<div class="row">
  <div class="col-md-8">
    <%= form_for :location, :url => update_multiple_location_discovered_hosts_path(:host_ids => params[:host_ids]) do |f| %>
      <%= f.select :id, Location.all.map{|e| [e.name, e.id]},{:include_blank => _("Select location")},
                   :onchange => "tfm.hosts.table.toggleMultipleOkButton (this)" %>
      <%= f.hidden_field :optimistic_import, :value => "yes" %>
    <% end %>
  </div>
</div>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
foreman_discovery-20.0.0 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-19.0.1 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-19.0.0 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-18.0.5 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-18.0.4 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-18.0.3 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.5 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-18.0.2 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.4 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.3 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.2 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-18.0.0 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.1 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.3.6 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-17.0.0 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.3.5 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.1.4 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.1.3 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.3.4 app/views/discovered_hosts/select_multiple_location.html.erb
foreman_discovery-16.3.1 app/views/discovered_hosts/select_multiple_location.html.erb