@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('admin.title'), 'url' => route('admin.dashboard')],
        ['label' => __('modules.title'), 'url' => route('admin.modules.index')],
        ['label' => __('common.edit')],
    ];
@endphp

<x-ui.layout.page
    :title="__('modules.actions.edit')"
    page-icon="fe fe-edit"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.admin.modules._form', [
        'action' => route('admin.modules.update', $module),
        'method' => 'PUT',
        'module' => $module,
        'submitLabel' => __('common.update'),
    ])
</x-ui.layout.page>
