Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- = form_for(@quote, :action => url(:quotes) ) do
- %ul.right
- %li
- = fields_for @year do #you need to output this... as it does return a value
- = select :id, :label => "Vehicle Year", :collection => Year.all({:order => [:order]}), :text_method => "name", :value_method => "id"
- %li
- = submit "Create"
Add Comment
Please, Sign In to add comment