1 <h1>Listing Checked Out Items</h1>
10 <th>Date Checked Out</th>
14 <% for coitem in @coitems %>
16 <td><%=h coitem.rentable.id.to_s %></td>
17 <td><%=h coitem.customer.name %></td>
18 <td><%=h coitem.rentable.class %></td>
19 <% if coitem.rentable.type == Game %>
20 <td><%=link_to coitem.rentable.title.to_s, :controller => 'game', :action => 'show', :id => coitem.rentable %></td>
22 <td><%=link_to coitem.rentable.title.to_s, :controller => 'video', :action => 'show', :id => coitem.rentable %></td>
24 <td><%=h tf_to_yesno(coitem.overdue?) %></td>
25 <td><%=h coitem.out_date %></td>
26 <td><%=h coitem.due_date %></td>
31 <%= link_to 'Previous page', { :page => @coitem_pages.current.previous } if @coitem_pages.current.previous %>
32 <%= link_to 'Next page', { :page => @coitem_pages.current.next } if @coitem_pages.current.next %>