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">Marques</option> </option> <option value="<option value="276987689">Activ distribution</option>"><option value="276987689">Activ distribution</option> </option>
Am i forgetting a parameter or something?
Greg