Custom Pagination Laravel 5

Custom Pagination Laravel 5
10 Oct
Custom Pagination Laravel 5 By Admin /

Custom Pagination Laravel 5 solutions Max Vision Solutions



Custom Pagination Laravel 5

@if ($paginator->hasPages() )
<ul class="pagination">
<li class="prev {{ ($paginator->currentPage() == 1) ? ' disabled' : '' }}">
<a href="{{ $paginator->url($paginator->currentPage()-1) }}"><i class="fa fa-step-backward"></i>
</a>
</li>
<li class="next {{ ($paginator->currentPage() == $paginator->lastItem()) ? ' disabled' : '' }}">
<a href="{{ $paginator->url($paginator->currentPage()+1) }}" ><i class="fa fa-step-forward"></i>
</a>
</li>
</ul>
@endif

Comments

Recognition of Excellence