%= error_messages_for 'coitem' %>
Customer ID <%= text_field 'coitem', 'customer_id' %>
Rentable ID <%= text_field 'coitem', 'rentable_id' %>
Out date <%= date_select 'coitem', 'out_date' %>
Due date <%= date_select 'coitem', 'due_date' %>