simple-default.blade.php 714B

123456789101112131415161718
  1. @if ($paginator->hasPages())
  2. <ul class="pagination" role="navigation">
  3. {{-- Previous Page Link --}}
  4. @if ($paginator->onFirstPage())
  5. <li class="disabled" aria-disabled="true"><span>@lang('pagination.previous')</span></li>
  6. @else
  7. <li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a></li>
  8. @endif
  9. {{-- Next Page Link --}}
  10. @if ($paginator->hasMorePages())
  11. <li><a href="{{ $paginator->nextPageUrl() }}" rel="next">@lang('pagination.next')</a></li>
  12. @else
  13. <li class="disabled" aria-disabled="true"><span>@lang('pagination.next')</span></li>
  14. @endif
  15. </ul>
  16. @endif