<% limit_reached = experiments.length == Constants::ATWHO_SEARCH_LIMIT + 1 %>
<% grouped_by_prj(experiments.limit(Constants::ATWHO_SEARCH_LIMIT)).each do |experiment_group| %>
<%= experiment_group[:project_name] %>
<% experiment_group[:experiments].each do |experiment| %>
  • <%= experiment.code %> · <%= sanitize_input(experiment.name) %> <%= render partial: 'shared/smart_annotation/atwho_control_buttons' %>
  • <% end %>
    <% end %> <% if limit_reached %>
    <%= t('atwho.more_results') %>
    <% end %> <% if experiments.blank? %> <%= render partial: 'shared/smart_annotation/no_results', locals: { object_type: 'experiments' } %> <% end %>
    <%= render partial: 'shared/smart_annotation/footer' %>