Sha256: 96cdac0b1f814b48769b854fb29565a6dfd2cdc1319c409fa2ef69f0ba4442bb

Contents?: true

Size: 483 Bytes

Versions: 41

Compression:

Stored size: 483 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 => "toggle_multiple_ok_button(this)" %>
      <%= f.hidden_field :optimistic_import, :value => "yes" %>
    <% end %>
  </div>
</div>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
foreman_discovery-1.3.0.rc3 app/views/discovered_hosts/select_multiple_location.html.erb