mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 14:17:00 +08:00
18 lines
690 B
Text
18 lines
690 B
Text
<div class="report-element report-step-attachment-element report-step-text-element">
|
|
<div class="report-element-body">
|
|
<% if step_text.text.present? %>
|
|
<%= custom_auto_link(step_text.prepare_for_report(:text, export_all),
|
|
team: current_team,
|
|
simple_format: false,
|
|
tags: %w(img),
|
|
base64_encoded_imgs: export_all) %>
|
|
<% else %>
|
|
<em><%= t('projects.reports.elements.step.no_description') %></em>
|
|
<% end %>
|
|
</div>
|
|
<% if defined?(children) %>
|
|
<div class="report-element-children">
|
|
<%= children %>
|
|
</div>
|
|
<% end %>
|
|
</div>
|