@php /** @var \App\Models\Row[]|Illuminate\Pagination\Paginator $rows */ @endphp @extends('table.propose.layout') @section('tab-content') <div class="col-12"> @yield('header') </div> @if($rows->hasPages()) <div class="col-md-12 d-flex"> <nav class="text-center" aria-label="Pages of the table"> {{ $rows->links(null, ['ulClass' => 'mb-0']) }} </nav> </div> @endif <div class="col-12"> @yield('rows') </div> @if($rows->hasPages()) <div class="col-md-12 d-flex"> <nav class="text-center" aria-label="Pages of the table"> {{ $rows->links(null, ['ulClass' => 'mb-0']) }} </nav> </div> @endif @stop