mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-22 13:04:30 +08:00
Merge pull request #6161 from aignatov-bio/ai-sci-9249-add-step-text-title-to-protocol-print
Add step text title to print protocol [SCI-9249]
This commit is contained in:
commit
18a5fcd58f
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@
|
||||||
<% when 'StepText' %>
|
<% when 'StepText' %>
|
||||||
<% step_text = step_element.orderable %>
|
<% step_text = step_element.orderable %>
|
||||||
<div class="print-step-text">
|
<div class="print-step-text">
|
||||||
|
<strong>
|
||||||
|
<%= auto_link(simple_format(step_text.name),
|
||||||
|
link: :urls,
|
||||||
|
html: { target: '_blank' }) %>
|
||||||
|
</strong>
|
||||||
|
<div class="page-break"></div>
|
||||||
<div class="ql-editor">
|
<div class="ql-editor">
|
||||||
<%= custom_auto_link(step_text.tinymce_render(:text).gsub(/<p>\S<\/p>/, '').strip,
|
<%= custom_auto_link(step_text.tinymce_render(:text).gsub(/<p>\S<\/p>/, '').strip,
|
||||||
simple_format: false,
|
simple_format: false,
|
||||||
|
|
Loading…
Add table
Reference in a new issue