mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 05:05:55 +08:00
7 lines
371 B
Text
7 lines
371 B
Text
<% if result.is_text %>
|
|
<%= render partial: "results/result_text.html.erb", locals: {result: result, markdown: markdown, target: nil} %>
|
|
<% elsif result.is_table %>
|
|
<%= render partial: "results/result_table.html.erb", locals: {result: result} %>
|
|
<% elsif result.is_asset %>
|
|
<%= render partial: "results/result_asset.html.erb", locals: {result: result} %>
|
|
<% end %>
|