<% controller ||= params[:controller] pagination_url_params = params.merge(:controller => controller, :action => :browse, :search => params[:search], :update => 1) prev_url = url_for(pagination_url_params.merge(:page => page.prev.number, :escape => false)) if page.prev? next_url = url_for(pagination_url_params.merge(:page => page.next.number, :escape => false)) if page.next? -%>
  1. <%= rs_("%d %s found", page.pager.count, record_select_config.model.to_s.pluralize.titleize.downcase) %>
  2. <% if page.prev? -%> <% end -%> <% page.items.each do |record| -%>
  3. <%= render_record_in_list(record, controller) %>
  4. <% end -%> <% if page.next? -%> <% end -%>