%= error_messages_for 'coitem' %>
<%= select 'coitem', 'customer_id', Customer.find(:all).collect {|c| [c.name.to_s, c.id] } %>
<%= select 'coitem', 'rentable_id', Rentable.find(:all).collect {|r| [r.title.to_s, r.id] } %>
<%= date_select 'coitem', 'out_date' %>
<%= date_select 'coitem', 'due_date' %>