<% # container for all groups in index view -%>
<%- @response.groups.each do |g| %>

<%= g.key %>

<%= render_document_index g.docs %>
<%- if g.total > @response.group_limit %> <%= link_to t('blacklight.search.group.more'), add_group_facet_params_and_redirect(g), :class => 'more-in-group' %> <%- end %> <%- end %>