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:
Zanz2 2017-11-16 01:11:52 +01:00 committed by GitHub
commit 4d65ad59fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>