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

<x-ui.layout.page
    :title="__('contracts.edit_title')"
    page-icon="fe fe-edit-2"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.hr.contracts._form', [
        'action' => route('hr.contracts.update', $contract),
        'method' => 'PUT',
        'contract' => $contract,
        'employees' => $employees,
        'types' => $types,
        'submitLabel' => __('contracts.actions.update'),
    ])
</x-ui.layout.page>
