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

8 lines
371 B
Text
Raw Normal View History

2016-02-12 23:52:43 +08:00
<% if result.is_text %>
<%= render partial: "results/result_text.html.erb", locals: {result: result, markdown: markdown, 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 %>
<%= render partial: "results/result_asset.html.erb", locals: {result: result} %>
<% end %>