I got it to work using:
<select class="monthSelect" id="order_month" name="order[month]">
<%= options_for_select(1..12, Time.now.month.to_i) %>
</select>
Just curious, though, is that the only way to add a css class to that
type of thing?
I got it to work using:
<select class="monthSelect" id="order_month" name="order[month]">
<%= options_for_select(1..12, Time.now.month.to_i) %>
</select>
Just curious, though, is that the only way to add a css class to that
type of thing?