<%= link_to rails_blob_path(asset.file, disposition: 'attachment'), class: "file-preview-link", id: "modal_link#{asset.id}", data: { no_turbolink: true, id: asset.id, gallery_view_id: gallery_view_id, preview_url: asset_file_preview_path(asset) } do %>
<% if asset.previewable? %> <%= image_tag asset.medium_preview, class: 'asset-preview-image', style: 'opacity: 0' %> <% else %> <% end %>
<%= asset.render_file_name %>
<%= t('assets.placeholder.modified_label') %> <%= l(asset.updated_at, format: :full_date) if asset.updated_at %>
<%= number_to_human_size(asset.file_size) %>
<% end %> <%= render partial: 'assets/asset_context_menu', locals: { asset: asset, deletable: deletable, editable: editable } %>