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

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

<%- @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, :agent_id => agent.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, :agent_id => agent.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'), agent_create_path(agent, create) -%> <%= link_to t('page.destroy'), agent_create_path(agent, create), :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%> <%- end -%>
<%= paginate(@creates) -%>