<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="<?php echo e(asset('/')); ?>fontEnd/assets/css/bootstrap.css">
    <title>Dashboard</title>
</head>
<body>

</body>
</html>
<nav class="navbar navbar-expand bg-dark-subtle border-bottom shadow">
    <div class="container-fluid">
        <div class="navbar-brand">
            <a href="<?php echo e(route('home')); ?>" class="text-decoration-none logo">Primary</a>
        </div>
        <ul class="navbar-nav">
            <li><a href="<?php echo e(route('home')); ?>" class="nav-link mx-auto">Home</a></li>
        </ul>
    </div>
</nav>

<section class="py-5">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-6">
                <form action="<?php echo e(route('save.accessories')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                <div class="card bg-dark-subtle">
                    <div class="card-header border-bottom">
                        <h3 class="card-title">Inputs Accessories </h3>
                    </div>
                    <div class="card-body pb-2">
                        <div class="row row-sm">
                            <div class="col-lg">
                                <input class="form-control mb-2" placeholder="Input Accessories Name" type="text" name="name">
                            </div>
                        </div>
                        <div class="row row-sm">
                            <div class="col-lg">
                                <textarea class="form-control mb-2" placeholder="Input Accessories Description" rows="3" name="description"></textarea>
                            </div>
                        </div>
                        <div class="row row-sm">
                            <div class="col-lg">
                                <input type="file" class="form-control" placeholder="Input Accessories Image" name="image">
                            </div>
                        </div>
                        <div class="row row-sm mt-2">
                            <div class="col-lg">
                                <input type="submit" class="btn btn-outline-success" value="Submit">
                            </div>
                        </div>
                    </div>
                </div>
                </form>
            </div>


            <div class="col-md-6">
                <form action="<?php echo e(route('save.leather')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="card bg-dark-subtle">
                        <div class="card-header border-bottom">
                            <h3 class="card-title">Inputs Accessories </h3>
                        </div>
                        <div class="card-body pb-2">
                            <div class="row row-sm">
                                <div class="col-lg">
                                    <input class="form-control mb-2" placeholder="Input Accessories Name" type="text" name="name">
                                </div>
                            </div>
                            <div class="row row-sm">
                                <div class="col-lg">
                                    <textarea class="form-control mb-2" placeholder="Input Accessories Description" rows="3" name="description"></textarea>
                                </div>
                            </div>
                            <div class="row row-sm">
                                <div class="col-lg">
                                    <input type="file" class="form-control" placeholder="Input Accessories Image" name="image">
                                </div>
                            </div>
                            <div class="row row-sm mt-2">
                                <div class="col-lg">
                                    <input type="submit" class="btn btn-outline-success" value="Submit">
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</section>
<section class="py-5">
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-6">
                <div class="card bg-dark-subtle">
                    <div class="card-header">All Accessories</div>
                    <div class="card-body">
                        <table class="table">
                            <thead>
                            <tr>
                                <th>SL No</th>
                                <th>Product Name</th>
                                <th>Product Description</th>
                                <th>Product Image</th>
                                <th>Action</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $__currentLoopData = $accessories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td><?php echo e($loop->iteration); ?></td>
                                    <td><?php echo e($product->name); ?></td>
                                    <td><?php echo e($product->description); ?></td>
                                    <td><img src="<?php echo e(asset($product->image)); ?>" alt="" height="50px" width="50px"></td>
                                    <td>
                                        <a href="" class="btn btn-outline-success btn-sm">Edit</a>
                                        <a href="" class="btn btn-outline-danger btn-sm">Delete</a>
                                    </td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>


            <div class="col-md-6">
                <div class="card bg-dark-subtle">
                    <div class="card-header">All Accessories</div>
                    <div class="card-body">
                        <table class="table">
                            <thead>
                            <tr>
                                <th>SL No</th>
                                <th>Product Name</th>
                                <th>Product Description</th>
                                <th>Product Image</th>
                                <th>Action</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $__currentLoopData = $leatherProduct; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <tr>
                                    <td><?php echo e($loop->iteration); ?></td>
                                    <td><?php echo e($product->name); ?></td>
                                    <td><?php echo e($product->description); ?></td>
                                    <td><img src="<?php echo e(asset($product->image)); ?>" alt="" height="50px" width="50px"></td>
                                    <td>
                                        <a href="" class="btn btn-outline-success btn-sm">Edit</a>
                                        <a href="" class="btn btn-outline-danger btn-sm">Delete</a>
                                    </td>
                                </tr>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

<?php /**PATH D:\primary\resources\views/frontEnd/dashboard/dashboard.blade.php ENDPATH**/ ?>