<% if image_preview %>
<%= image_tag image_preview %>
<% else %>
<% end %>
<%= truncate(asset.file_file_name,
length: Constants::FILENAME_TRUNCATION_LENGTH) %>
<%= t('protocols.steps.attachments.modified_label') %> <%= l(asset.updated_at, format: :full_date) if asset.updated_at %>
<%= number_to_human_size(asset.file.size) %>
<% if edit_page %>
<% unless ff.object.file.exists? && ff.object.locked? %>
<%= ff.remove_nested_fields_link do %>
<% end %>
<% end %>
<% end %>