<%= t('page.listing', :model => t('activerecord.models.create')) -%>

<%= link_to patron.full_name, patron -%>

<%- @creates.each do |create| -%> "> <%- end -%>
<%= t('activerecord.models.work') -%> <%= t('page.created_at') -%> <%= t('page.updated_at') -%>
<%- if can? :delete, create -%> <%= create.first? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_up.png', :size => '16x16', :alt => t('page.asc')), {:action => 'update', :move => 'higher', :id => create.id, :patron_id => patron.id}, :method => :put) -%> <%= create.last? ? image_tag('icons/stop.png', :size => '16x16') : link_to(image_tag('icons/arrow_down.png', :size => '16x16', :alt => t('page.desc')), {:action => 'update', :move => 'lower', :id => create.id, :patron_id => patron.id}, :method => :put) -%> <%- end -%> <%= link_to create.work.try(:original_title), create.work -%> <%= l(create.created_at) -%> <%= l(create.updated_at) -%> <%- if can? :delete, create -%> <%= link_to t('page.show'), patron_create_path(patron, create) -%> <%= link_to t('page.destroy'), patron_create_path(patron, create), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <%- end -%>
<%= paginate(@creates) -%>