@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('admin.title'), 'url' => route('admin.dashboard')],
        ['label' => __('tenants.title'), 'url' => route('admin.tenants.index')],
        ['label' => __('common.edit')],
    ];
@endphp

<x-ui.layout.page
    :title="__('tenants.actions.edit')"
    page-icon="fe fe-edit"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.admin.tenants._lifecycle', ['tenant' => $tenant])

    @include('pages.admin.tenants._form', [
        'action' => route('admin.tenants.update', $tenant),
        'method' => 'PUT',
        'tenant' => $tenant,
        'plans' => $plans,
        'submitLabel' => __('common.update'),
    ])
</x-ui.layout.page>
