% results.each do |result| %>
<% end %><%= highlight custom_auto_link(result_text.tinymce_render(:text), simple_format: false, tags: %w(img), team: current_team), search_query.strip.split(/\s+/) %>
<%=t "search.index.created_at" %>
<%=l result.created_at, format: :full %>
<%=t "search.index.module" %>
<%= render partial: "search/results/partials/my_module_text",
locals: { my_module: result.my_module } %>
<%=t "search.index.experiment" %>
<%= render partial: "search/results/partials/experiment_text",
locals: { experiment: result.my_module.experiment } %>
<%=t "search.index.project" %>
<%= render partial: "search/results/partials/project_text",
locals: { project: result.my_module.experiment.project, link_to_page: :show } %>
<% if result.my_module.experiment.project.project_folder %>
<%=t "search.index.folder" %>
<%= render partial: "search/results/partials/project_folders_text",
locals: { folder: result.my_module.experiment.project.project_folder } %>
<% end %>
<%=t "search.index.team" %>
<%= render partial: "search/results/partials/team_text",
locals: { team: result.my_module.experiment.project.team } %>