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

<%= notice %>

[P] <%= link_to agent.full_name, agent -%>

<%- @picture_files.each do |picture_file| -%> "> <%- end -%>
<%= 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') -%>
<%- 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_path(picture_file, agent_id: agent.id), data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%>
<%= paginate(@picture_files) -%>