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

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