<!-- check that this collection is paginated -->
@if(method_exists($collection, 'links'))
    <div class="row pull-right">
        <div class="col-md-12">
            {{ $collection->links() }}
        </div>
    </div>
@endif
