@if ($paginator instanceof \Illuminate\Pagination\AbstractPaginator && $paginator->hasPages()) @endif