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

<x-ui.layout.page
    :title="__('salary_structures.edit_title')"
    :subtitle="$structure->name"
    page-icon="fe fe-edit-2"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.hr.salary-structures._form', [
        'action' => route('hr.salary-structures.update', $structure),
        'method' => 'PUT',
        'structure' => $structure,
        'submitLabel' => __('salary_structures.actions.update'),
    ])
</x-ui.layout.page>
