scinote-web/app/views/my_modules/_result_user_generated.html.erb

9 lines
430 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% if result.is_text %>
2016-11-10 21:11:32 +08:00
<%= render partial: "results/result_text.html.erb", locals: {result: result, target: nil} %>
2016-02-12 23:52:43 +08:00
<% elsif result.is_table %>
<%= render partial: "results/result_table.html.erb", locals: {result: result} %>
<% elsif result.is_asset %>
2019-09-26 22:49:56 +08:00
<%= render partial: 'steps/attachments/item.html.erb',
locals: { asset: result.asset, i: 0, assets_count: 0, step: nil, order_atoz: 0, order_ztoa: 0 } %>
2016-02-12 23:52:43 +08:00
<% end %>