mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
Merge pull request #878 from Zanz2/protocol_description_fix
Found a bug; i forot to include protocol description in new preview modal
This commit is contained in:
commit
4d65ad59fe
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@
|
|||
<br>
|
||||
<% prot_info_string = '' %>
|
||||
<% protocol_table_elements_array = [] %>
|
||||
<% if json_object['description'].present? %>
|
||||
<% prot_info_string += (json_object['description']) %>
|
||||
<strong><%= t('protocols.protocols_io_import.preview.prot_desc') %></strong>
|
||||
<%= sanitize_input(string_html_table_remove(json_object['description']).html_safe) %><br>
|
||||
<% end %>
|
||||
<% if json_object['before_start'].present? %>
|
||||
<% prot_info_string += (json_object['before_start']) %>
|
||||
<strong><%= t('protocols.protocols_io_import.preview.b_s_p') %></strong>
|
||||
|
|
Loading…
Add table
Reference in a new issue