<% results.each do |project| %>
<%= render partial: 'search/results/partials/project_text', locals: { project: project, query: search_query, link_to_page: :show } %>

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


<% end %>