diff --git a/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb b/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb index d9fab4692..bb463dc24 100644 --- a/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb +++ b/app/views/protocols/import_export/_import_json_protocol_p_desc.html.erb @@ -64,10 +64,32 @@ <%= sanitize_input(json_object['link'].html_safe) %>
<% end %> <% tables, garbage = protocolsio_string_to_table_element(prot_info_string) %> + <% table_count = 0 %> <% tables.each do |index, table| %> <% table_hash = JSON.parse(Base64.decode64(table['contents'])) %> - <% byebug %> - + <% pio_table_id = "pio_table_prot_info_"+table_count.to_s %> + <%# byebug %> +
+
+ + <% table_count += 1 %> <% end %>