×

Thank You for Quotation!

Your email has been successfully sent and we will get in touch with you shortly.

Request a Quote

Please tell us about your project and a member of our team will contact you within one business day.

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