

<?php $__env->startSection('content'); ?>
    <div class="content-wrapper p-3">
        <div class="container-fluid">
            <h2>Tambah Produk Baru</h2>
            <form action="<?php echo e(route('products.store')); ?>" method="POST" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="mb-3">
                    <label>Nama Produk</label>
                    <input type="text" name="name" class="form-control" required>
                </div>

                <div class="mb-3">
                    <label>Harga</label>
                    <input type="number" name="harga" class="form-control" required>
                </div>

                <div class="mb-3">
                    <label>Brand</label>
                    <input type="text" name="brand" class="form-control">
                </div>

                <div class="mb-3">
                    <label>Kategori</label>
                    <input type="text" name="category" class="form-control">
                </div>

                <div class="mb-3">
                    <label>Gender</label>
                    <select name="gender" class="form-control" required>
                        <option value="">-- Pilih Gender --</option>
                        <option value="pria">Pria</option>
                        <option value="wanita">Wanita</option>
                    </select>
                </div>

                <div class="mb-3">
                    <label for="deskripsi" class="form-label">Deskripsi</label>
                    <textarea name="deskripsi" class="form-control" rows="5" placeholder="Tulis deskripsi produk..."></textarea>
                </div>


                <div class="mb-3">
                    <label>Gambar Produk</label>
                    <input type="file" name="image" class="form-control" required>
                </div>

                <button type="submit" class="btn btn-success">Simpan</button>
                <a href="<?php echo e(route('products.index')); ?>" class="btn btn-secondary">Kembali</a>
            </form>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layout.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\omah_sepatu\resources\views/products/create.blade.php ENDPATH**/ ?>