search for: search_brand

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

Did you mean: search_brands
2010 Jun 17
1
Problem with options_for_select
Hi, I have a problem with the form select. In the value field I have the generated html... <%= f.select :brand_id, options_for_select([[''Brands'', 0]] + @search_brands.map { |b| [b.name, b.id]}), {:id => ''cbxBrand'', :tabindex => (@tabindex += 1)} %> This is the html: <select name="search[brand_id]" id="search_brand_id"> <option value="&lt;option value=&quot;0&quot;&g...