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

<x-ui.layout.page :title="__('common.edit')" :subtitle="$vacancy->reference_code" page-icon="fe fe-edit-2" :breadcrumbs="$breadcrumbs">
    @include('pages.hr.recruitment.vacancies._form', [
        'action' => route('hr.recruitment.vacancies.update', $vacancy),
        'method' => 'PUT',
        'vacancy' => $vacancy,
        'departments' => $departments,
        'jobRequestOptions' => $jobRequestOptions,
        'submitLabel' => __('common.save'),
    ])
</x-ui.layout.page>
