@can('changeOrder', $model)
$loop->first and $models->onFirstPage()]) action="{{ route('bo.' . $routeName . '.change-order', [ 'tenant' => \tenant(), str($routeName)->singular()->value => $model, 'direction' => 'up' ]) }}" method="POST"> @csrf @method('PATCH')
$loop->last and $models->currentPage() === $models->lastPage()]) action="{{ route('bo.' . $routeName . '.change-order', [ 'tenant' => \tenant(), str($routeName)->singular()->value => $model, 'direction' => 'down' ]) }}" method="POST"> @csrf @method('PATCH')
@else @endcan