<?php $__env->startSection('title', 'Add Product'); ?>

<?php $__env->startSection('content'); ?>
<div class="d-flex justify-content-between mb-4">
    <h5 class="fw-bold mb-0">Add New Product</h5>
    <a href="<?php echo e(route('admin.products.index')); ?>" class="btn btn-outline-secondary btn-sm"><i class="bi bi-arrow-left me-1"></i>Back</a>
</div>

<form action="<?php echo e(route('admin.products.store')); ?>" method="POST" enctype="multipart/form-data">
    <?php echo csrf_field(); ?>
    <?php echo $__env->make('admin.products._form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <div class="mt-4 d-flex gap-2">
        <button type="submit" class="btn btn-danger px-5">Save Product</button>
        <a href="<?php echo e(route('admin.products.index')); ?>" class="btn btn-outline-secondary px-4">Cancel</a>
    </div>
</form>

<form id="quickDeleteForm" method="POST" style="display:none">
    <?php echo csrf_field(); ?>
    <?php echo method_field('DELETE'); ?>
</form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/boguraj1/public_html/udoktaecom/resources/views/admin/products/create.blade.php ENDPATH**/ ?>