I am working on ruby on rails application and trying to reduce size of select. I have 'bootstrap gem' installed for my application. Here is the code
<%= f.select :fromyear, (1995..Time.now.year).to_a.reverse,
:include_blank => {:year => "Select year"}, :class=>"input-small" %>
as I noticed class values from this question Change width of select tag in Twitter Bootstrap. But seems like it is not working with this select. I have tried
<%= f.select :fromyear, (1995..Time.now.year).to_a.reverse,
:include_blank => {:year => "Select year"}, :style=>"100px" %>
but nothing happened. Plz let me know what i am missing. Thanks