search for: packinglisttype

Displaying 1 result from an estimated 1 matches for "packinglisttype".

2007 Dec 15
3
List Box Issue - Should be easy, but nor for me!
...d]) %> <% form_for :anitem, :url => { :action => :updateitem } do |thisform| -%> ... ... (some code...removed) ... <%= collection_select :thisform, :item_category, ItemCategory.find(:all), :id, :name %><br> <%= collection_select :thisform, :packing_list_type, PackingListType.find(:all), :id, :name %> <%= submit_tag ''Update'' %> <% end %> My issue is that the list box never selects the current value when it pulls the data from the database. Everything looks great - but no currently selected option tag ("selected"). Should b...