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

<x-ui.layout.page
    :title="__('contracts.create_title')"
    page-icon="fe fe-plus"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.hr.contracts._form', [
        'action' => route('hr.contracts.store'),
        'contract' => null,
        'employees' => $employees,
        'types' => $types,
        'templates' => $templates,
        'submitLabel' => __('contracts.actions.save'),
    ])
</x-ui.layout.page>
