@if ($paginator->hasPages()) {{-- Previous Page Link --}} @if ($paginator->onFirstPage()) @lang('pagination.previous') @else @lang('pagination.previous') @endif {{-- Next Page Link --}} @if ($paginator->hasMorePages()) @lang('pagination.next') @else @lang('pagination.next') @endif {{-- Previous Page Link --}} @if ($paginator->onFirstPage()) ‹ @else ‹ @endif {{-- Pagination Elements --}} @foreach ($elements as $element) {{-- "Three Dots" Separator --}} @if (is_string($element)) {{ $element }} @endif {{-- Array Of Links --}} @if (is_array($element)) @foreach ($element as $page => $url) @if ($page == $paginator->currentPage()) {{ $page }} @else {{ $page }} @endif @endforeach @endif @endforeach {{-- Next Page Link --}} @if ($paginator->hasMorePages()) › @else › @endif @endif