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

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