@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('nav.group.settings')],
        ['label' => __('custom_fields.title'), 'url' => route('settings.custom-fields.index')],
        ['label' => __('custom_fields.edit_title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('custom_fields.edit_title')"
    :subtitle="$field->name"
    page-icon="fe fe-edit-2"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.settings.custom-fields._form', [
        'action' => route('settings.custom-fields.update', $field),
        'method' => 'PUT',
        'field' => $field,
        'module' => $module,
        'entity' => $entity,
        'submitLabel' => __('custom_fields.actions.update'),
    ])
</x-ui.layout.page>
