View file resources/views/forum/_pagination.blade.php

File size: 274B
<div>Страницы:
    @foreach ($pages as $page)
        @if (isset($page['separator']))
            <span>{{ $page['name'] }}</span>
        @else
            <a href="{{ $link }}?page={{ $page['page'] }}">{{ $page['name'] }}</a>
        @endif
    @endforeach
</div>