{{-- resources/views/livewire/partials/pagination.blade.php --}} @if($paginator->hasPages())
Showing {{ $paginator->firstItem() }}–{{ $paginator->lastItem() }} of {{ $paginator->total() }} results
{{-- Prev --}} @if($paginator->onFirstPage()) @else @endif {{-- Page numbers --}} @foreach($paginator->getUrlRange(max(1,$paginator->currentPage()-2), min($paginator->lastPage(),$paginator->currentPage()+2)) as $page => $url) @endforeach {{-- Next --}} @if($paginator->hasMorePages()) @else @endif
@endif