Displaying 1 result from an estimated 1 matches for "product_product_typ".
Did you mean:
product_product_type
2005 Dec 15
3
Rails: Select and html forms
I''m close to getting this to work, but not quite there. I''m trying to
implement a dropdown control, with the current choice selected.
I have the following code in the view:
5 <select id="product_product_type" name="product[product_type]">
6 <%=
7 types = ProductType.find(:all, :order => "product_type")
8 options_from_collection_for_select( types, :id, :product_type,
selected=@product_type_id)
9 %>
10 </select
Which renders the...