<% results.each do |experiment| %>
<%= render partial: "search/results/partials/experiment_text.html.erb", locals: { experiment: experiment, query: search_query } %>

<%=t 'search.object_id' %> <%= highlight experiment.code, @search_query.strip.split(/\s+/) %>
<%=t "search.index.created_at" %> <%=l experiment.created_at, format: :full %>
<%=t "search.index.project" %> <%= render partial: "search/results/partials/project_text.html.erb", locals: { project: experiment.project, link_to_page: :show } %>
<% if experiment.project.project_folder %> <%=t "search.index.folder" %> <%= render partial: "search/results/partials/project_folders_text.html.erb", locals: { folder: experiment.project.project_folder } %>
<% end %> <%=t "search.index.team" %> <%= render partial: "search/results/partials/team_text.html.erb", locals: { team: experiment.project.team } %>


<% end %>