<% results.each do |mod| %>
<%= render partial: "search/results/partials/my_module_text.html.erb", locals: { my_module: mod, query: search_query } %>
<% if mod.description.present? && !mod.description.empty? %>

<%=t "search.index.description" %> <%= highlight mod.description, search_query.strip.split(/\s+/) %>

<% end %>

<%=t "search.index.created_at" %> <%=l mod.created_at, format: :full %>
<%=t "search.index.experiment" %> <%= render partial: "search/results/partials/experiment_text.html.erb", locals: { experiment: mod.experiment } %>
<%=t "search.index.project" %> <%= render partial: "search/results/partials/project_text.html.erb", locals: { project: mod.experiment.project, link_to_page: :show } %>
<%=t "search.index.team" %> <%= render partial: "search/results/partials/team_text.html.erb", locals: { team: mod.experiment.project.team } %>


<% end %>