Hey, I was just looking over the Rails API for form helpers here....
http://api.rubyonrails.com/classes/ActionView/Helpers/FormHelper.html
I noticed that there is no tag for a select/drop down menu?? I need to create two separate drop downs for my form, one that allows the user to choose a condition (new, excellent, good, fair) and one that allows them to choose the category that they want to place the item in (men's, women's, children's, etc.). Can anyone point me in the right direction for creating a drop down for my form?
Here is my current generic form_for code:
<% form_for @item do |f| %> <p>title:<br /> <%= f.text_field :title %> </p> <p>color:<br /> <%= f.text_field :color %> </p> <p>brand:<br /> <%= f.text_field :brand %> </p> <p>description:<br /> <%= f.text_area :description %> </p> <p> <%= submit_tag %> <% end %>
--Cory