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