<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <h1 class="m-0 text-dark">Add Product</h1>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.container-fluid -->
</div>
<!-- Main content -->
<section class="content">
    <div class="container-fluid">
        <form method="post" class="card" action="<?php echo base_url('dashboard/') . "adddataproduct"; ?>" enctype="multipart/form-data">
            <div class="card-body d-flex flex-column justify-content-center align-items-center">

                <div class="row">
                    <div class="col-4">
                        
                        <div class="form-group">
                        <label>Title</label>
                        <input type="text" required="true" class="form-control" name="name" placeholder="Name">
                        </div>
                    </div>
                    <div class="col-4">
                    <label>Base Price</label>
                        <div class="form-group">
                            <input type="number" required="true" class="form-control" name="rate" placeholder="rate">
                        </div>
                    </div>
                    <div class="col-4">
                        <div class="form-group">
                        <label>Status</label>
                            <select class="form-select" required name="status" id="">
                                <option value="" disabled>Status</option>
                                <option value="0">Inactive</option>
                                <option value="1" selected>Active</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-12">
                    <label>Description</label>    
                    <div class="form-group">
                            <input type="text" required="true" class="form-control" name="description" placeholder="description">
                        </div>
                    </div>
                    <div class="col-6">
                    <label>Image</label>    
                    <div class="form-group">
                            <input type="file" required="true" class="form-control" name="image" placeholder="description">
                        </div>
                    </div>
                    <div class="col-6">
                    <label>Category</label>    
                    <div class="form-group">
                    <select class="form-select" required name="category" id="">
                                <option value="" disabled>Status</option>
                               <?php  foreach ($users as $id => $customerlists) {?>
                                <option value="<?php echo $id ?>"><?php echo output($customerlists['name']); ?></option>
                              <?php } ?>
                            </select>
                        </div>
                    </div>
                    <div class="col-12">
                    <label>Gallery</label>    
                    <div class="form-group">
                            <input type="file" required="true" class="form-control" name="gallery[]" multiple placeholder="description">
                        </div>
                    </div>
                </div>

                <button type="submit" class="btn btn-md selfalign-center rounded-pill bg-custom-blue text-white px-5"> Add Now</button>
            </div>
        </form>
    </div>
</section>
<!-- /.content -->