I'm using Rails 4, simple_form and Zurb Foundation for styling.
I have a form which is now functioning correctly, but the select input for the association is awkward to use. Here is my form (I've bolded the relevant line):
<div class="content-box">
<%= simple_form_for [:admin, @venue] do |f| %>
<%= f.input :permalink %>
<%= f.input :description, input_html: { cols: 100, rows: 6 }%>
<%= f.association :photos %>
<%= f.button :submit, class: 'small radius' %>
This produced a select box that is one line and only shows one choice at a time. This is not very optimal for a select input where I might need to select half a dozen photos from the list. I tried adding "input_html: { size: '10' }", but that didn't work. Any ideas?