@include('flash_msg')
{{--
Displaying {{$add_voices->count()}} of {{ $add_voices->total() }} Add voice.
{{ $add_voices->appends(request()->all())->links() }}
--}}
-
@if ($add_voices->currentPage() > 1)
- < @endif @if ($add_voices->currentPage() > 3)
- 1
- ... @endif @foreach(range(max(1, $add_voices->currentPage() - 2), min($add_voices->lastPage(), $add_voices->currentPage() + 2)) as $page)
- {{ $page }} @endforeach @if ($add_voices->currentPage() < $add_voices->lastPage() - 2)
- ...
- {{ $add_voices->lastPage() }} @endif @if ($add_voices->hasMorePages())
- > @endif