There is such a ruby code that inside the input and select tags ... displays a list with different values for later selection and sending to the server:
f.collection_select(:outlets, Outlet.order(:name), :id, :name, { include_blank: false, }, { :multiple => true, :class=>'select2'}) How can you make this data not just output inside the input, but inside the dropdown element? I want to output not in standard select, but through bootstrap dropdown w3schools.com/bootstrap/bootstrap_dropdowns.asp Thank you.