Displaying 1 result from an estimated 1 matches for "cbxbrand".
Did you mean:
bbrand
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="<option
value="0">Marques</option>"><option
value="0"&...