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