Customer | Rentable | <% for column in Coitem.content_columns %><%= column.human_name %> | <% end %>|||
---|---|---|---|---|---|
<%=h Customer.find(coitem.customer_id).name %> | <%=h Rentable.find(coitem.rentable_id).title %> | <% for column in Coitem.content_columns %><%=h coitem.send(column.name) %> | <% end %><%= link_to 'Show', :action => 'show', :id => coitem %> | <%= link_to 'Edit', :action => 'edit', :id => coitem %> | <%= link_to 'Destroy', { :action => 'destroy', :id => coitem }, :confirm => 'Are you sure?', :method => :post %> |