<%= link_to shelf.display_name.localize, shelf -%>
|
<%= t('page.attachable') -%> |
<%= t('activerecord.attributes.picture_file.picture_file_size') -%> |
<%= t('activerecord.attributes.picture_file.picture_content_type') -%> |
<%= t('activerecord.attributes.picture_file.picture_file_name') -%> |
|
<%- @picture_files.each do |picture_file| -%>
">
<%- if can? :update, picture_file -%>
<%= move_position(picture_file) -%>
<%- end -%>
|
<%= link_to "#{h(picture_file.picture_attachable_type)}/#{h(picture_file.picture_attachable_id)}", picture_file.picture_attachable if picture_file.picture_attachable -%>
|
<%= picture_file.picture_file_size -%> |
<%= picture_file.picture_content_type -%> |
<%= link_to picture_file.picture_file_name, picture_file_path(picture_file, :format => :download, :size => 'original') -%> |
<%= link_to t('page.show'), picture_file -%>
<%- if can? :update, picture_file -%>
<%= link_to t('page.edit'), edit_picture_file_path(picture_file) -%>
<% end %>
<%- if can? :delete, picture_file -%>
<%= link_to t('page.destroy'), picture_file, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
<%- end -%>
|
<%- end -%>
<%= paginate(@picture_files) -%>