mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
8 lines
430 B
Text
8 lines
430 B
Text
<% if result.is_text %>
|
|
<%= render partial: "results/result_text.html.erb", locals: {result: result, target: nil} %>
|
|
<% elsif result.is_table %>
|
|
<%= render partial: "results/result_table.html.erb", locals: {result: result} %>
|
|
<% elsif result.is_asset %>
|
|
<%= render partial: 'steps/attachments/item.html.erb',
|
|
locals: { asset: result.asset, i: 0, assets_count: 0, step: nil, order_atoz: 0, order_ztoa: 0 } %>
|
|
<% end %>
|