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

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