@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('inventory.breadcrumb_root')],
        ['label' => __('inventory.warehouses.title'), 'url' => route('inventory.warehouses.index')],
        ['label' => __('inventory.warehouses.create_title')],
    ];
@endphp

<x-ui.layout.page
    :title="__('inventory.warehouses.create_title')"
    page-icon="fe fe-plus"
    :breadcrumbs="$breadcrumbs"
>
    <x-slot:actions>
        <x-ui.buttons.secondary :href="route('inventory.warehouses.index')" icon="fe fe-arrow-left">
            {{ __('inventory.warehouses.actions.back_to_list') }}
        </x-ui.buttons.secondary>
    </x-slot:actions>

    @include('pages.inventory.warehouses._form', [
        'action' => route('inventory.warehouses.store'),
        'method' => 'POST',
        'submitLabel' => __('inventory.warehouses.actions.create'),
    ])
</x-ui.layout.page>
