Sha256: c4bac9a5593eab81e06a69110c717769023662c9f37d1674432d2858e7220fa5

Contents?: true

Size: 427 Bytes

Versions: 5

Compression:

Stored size: 427 Bytes

Contents

<%= render 'selected_hosts', :hosts => @hosts %>
<%= form_for :organization, :url => update_multiple_organization_hosts_path(:host_ids => params[:host_ids]) do |f| %>
  <%= f.select :id, [[_("Select Organization"), "disabled"]] + Organization.all.map{|e| [e.name, e.id]},{},
        :onchange => "toggle_multiple_ok_button(this)" %>
  <%= render 'taxonomy_import_option', :f => f, :taxonomy_type => 'Organization' %>
<% 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_organization.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/hosts/select_multiple_organization.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/hosts/select_multiple_organization.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/hosts/select_multiple_organization.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/hosts/select_multiple_organization.html.erb