% @markdown ||= nil %> <% results.each do |result| %>
<% end %><%= highlight(@markdown.render(result.result_text.text).html_safe, 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.html.erb",
locals: { my_module: result.my_module } %>
<%=t "search.index.experiment" %>
<%= render partial: "search/results/partials/experiment_text.html.erb",
locals: { experiment: result.my_module.experiment } %>
<%=t "search.index.project" %>
<%= render partial: "search/results/partials/project_text.html.erb",
locals: { project: result.my_module.experiment.project } %>
<%=t "search.index.organization" %>
<%= render partial: "search/results/partials/organization_text.html.erb",
locals: { organization: result.my_module.experiment.project.organization } %>