<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 dark:text-gray-200 leading-tight">{{ __('Nuevo producto') }}</h2>
    </x-slot>
    <div class="py-8">
        <div class="max-w-3xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white dark:bg-gray-800 shadow-sm sm:rounded-lg p-6">
                @php($product = new \App\Models\Product())
                <form method="post" action="{{ route('products.store') }}">
                    @include('products._form', ['submitLabel' => __('Crear producto')])
                </form>
            </div>
        </div>
    </div>
</x-app-layout>
