Displaying 1 result from an estimated 1 matches for "select_brand".
2012 Mar 28
1
collection_select
_form.html.haml
  = f.label :Select_Brand, "Select_Brand<em>*</em>".html_safe
  = collection_select(:brand_name, :brand_id, Brand.all, :id, :name,
:prompt => "Select a Brand" )
show.html.haml file
%table
  %tr
    %td
      Brand_Name :
    %td
      = @message.brand_id
After writing this code I am not...