rails form helper select

<%= select :booking_note, :fee_invoice_send_address, User.find(session[:user_id]).fee_invoice_send_addresses.collect(&:address), {}, {:class => "ext_combobox"} %>

<%= select :booking_note, :shipper_attn_name, User.find(session[:user_id]).contact_people.collect {p| [ p.name, p.id ] }, {:include_blank => true}, {:id => "booking_note_shipper_cb"} %>

你可能感兴趣的:(ext,Rails)