@php $tab = 'edit-rows'; /** @var \App\Tables\Column[] $columns */ /** @var \App\Tables\Changeset $changeset */ /** @var \App\Models\Row[]|Illuminate\Pagination\Paginator $rows */ /** @var \App\Models\Table $table */ @endphp @extends('table.propose.layout') @section('tab-content') @if($rows->hasPages())
@endif
@php $transformed = $rows->keyBy('_id')->map(function($r) use ($changeset) { /** @var \App\Tables\Changeset $changeset */ return $changeset->transformRow($r, true); }); @endphp
@if($rows->hasPages())
@endif @stop