<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = App\View\Components\AppLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\AppLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <?php $__env->startSection('title'); ?>
        Pages Management
    <?php $__env->stopSection(); ?>
    <!-- Page Heading -->
    <h1 class="h3 mb-2 text-gray-800">

    </h1>
    <!-- DataTales Example -->
    <div class="card shadow mb-4">
        <div class="card-header py-3">
            <h6 class="m-0 font-weight-bold text-primary">
                Product
            </h6>
        </div>
        <div class="card-body">
            <form action="<?php echo e(route('admin.product.update', $data->id)); ?>" method="post" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <?php echo method_field('put'); ?>
                <div class="row">
                    <div class="col-12">
                        <div class="mt-3">
                            <label for="">Product name</label>
                            <input type="text" class="form-control" value="<?php echo e($data->name); ?>" name="name"
                                placeholder="Product name" required>
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="mt-3">
                            <label for="">Price</label>
                            <input type="number" class="form-control" value="<?php echo e($data->price); ?>" name="price"
                                placeholder="Product price" required>
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="mt-3">
                            <label for="">Image</label>
                            <img width="60px" src="<?php echo e(asset($data->image)); ?>" alt="">
                            <input type="file" class="form-control" name="image" >
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="mt-3">
                            <label for="">Sort Description</label>
                            <textarea name="sort_description" class="form-control" required><?php echo e($data->sort_description); ?> </textarea>
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="mt-3">
                            <label for="">Long Description</label>
                            <textarea name="long_description" class="form-control summernote" required><?php echo e($data->long_description); ?></textarea>
                        </div>
                    </div>

                    <div class="col-12">
                        <div class="mt-3">
                            <button type="submit" class="btn btn-primary">Update</button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?>
<?php /**PATH /home/raj/Documents/teamprojects/kik/resources/views/admin/product/edit.blade.php ENDPATH**/ ?>