simple-default.blade.php 773 B

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