mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-24 15:54:00 +08:00
18 lines
No EOL
876 B
Text
18 lines
No EOL
876 B
Text
<div class="attachment-placeholder pull-left" data-marvinjs-sketch="<%= sketch.id %>">
|
|
<div class="attachment-thumbnail">
|
|
<img src>
|
|
<%= hidden_field_tag :description, sketch.description %>
|
|
</div>
|
|
<div class="attachment-label"><%= truncate(sketch.name,
|
|
length: Constants::FILENAME_TRUNCATION_LENGTH) %></div>
|
|
<div class="spencer-bonnet-modif">
|
|
<%= t('protocols.steps.attachments.modified_label') %> <%= l(sketch.updated_at, format: :full_date) if sketch.updated_at %>
|
|
</div>
|
|
<% if edit_page %>
|
|
<div class="remove-icon pull-right">
|
|
<%= ff.remove_nested_fields_link do %>
|
|
<span class="fas fa-trash"></span>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
</div> |