I use bootstrap_form_for to create forms and have a collection select, where I want to add a custom class. I tried this, but this does not work:
<%= f.collection_select :location, Location.all, :id, :name, label: 'Location', :include_blank => ("Select..."), hide_label: true, :class => 'location' %>
Any ideas?