1 <%= error_messages_for 'coitem' %>
4 <p><label for="coitem_customer_id">Customer</label><br/>
5 <%= select 'coitem', 'customer_id', Customer.find(:all).collect {|c| [c.name.to_s, c.id] } %></p>
7 <p><label for="coitem_rentable_id">Rentable</label><br/>
8 <%= select 'coitem', 'rentable_id', Rentable.find(:all).collect {|r| [r.title.to_s, r.id] } %></p>
10 <p><label for="coitem_out_date">Out date</label><br/>
11 <%= date_select 'coitem', 'out_date' %></p>
13 <p><label for="coitem_due_date">Due date</label><br/>
14 <%= date_select 'coitem', 'due_date' %></p>
15 <!--[eoform:coitem]-->