mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-05 07:03:51 +08:00
11 lines
No EOL
509 B
Text
11 lines
No EOL
509 B
Text
<div class="sketch-container" data-sketch-id="<%= sketch.id %>" >
|
|
<img src class="sketch-image">
|
|
<%= hidden_field_tag :description, sketch.description %>
|
|
<div class="sketch-name"><%= truncate(sketch.name, length: Constants::FILENAME_TRUNCATION_LENGTH) %></div>
|
|
<div class="sketch-object">
|
|
<% if sketch.object&.protocol&.my_module %>
|
|
<%= t('marvinjs.task') %>: <%= truncate(sketch.object.protocol.my_module.name,
|
|
length: Constants::FILENAME_TRUNCATION_LENGTH) %>
|
|
<% end %>
|
|
</div>
|
|
</div> |