[Back]

<?php $__env->startSection('content'); ?>
<div class="flex items-center justify-between mb-6">
    <h1 class="text-2xl font-bold">Add Product</h1>
    <a href="<?php echo e(route('admin.products.index')); ?>" class="underline">Back</a>
</div>

<div class="bg-white rounded-xl shadow p-6">
    <form method="POST" action="<?php echo e(route('admin.products.store')); ?>" class="space-y-6">
        <?php echo csrf_field(); ?>

        <?php echo $__env->make('admin.products._form', ['product' => $product], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

        <button class="px-5 py-3 rounded bg-black text-white">
            Save Product
        </button>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.public', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\nashr\Repo\landing-fpx\resources\views/admin/products/create.blade.php ENDPATH**/ ?>