render_content_on (Borges::BigBatchedList)

    # File lib/Borges/Component/BigBatchedList.rb, line 61
      def render_content_on(r)
        return if max_pages == 1

        r.div_named('batch') do
          unless on_first_page? then
            r.anchor('<<') do previous_page end
          else
            r.text('<<')
          end

          r.space

          dots = false
          0.upto(max_pages - 1) do |i|
            unless should_display?(i) then
              unless dots then
                r.space
                r.text('...')
              end
              dots = true
              next
            end

            dots = false

            r.space

            unless @current_page == i then
              r.anchor(i + 1) do @current_page = i end
            else
              r.bold(i + 1)
            end
          end

          r.space
          r.space

          unless on_last_page? then
            r.anchor('>>') do next_page end
          else
            r.text('>>')
          end
        end
      end