<?php $__env->startSection('content'); ?>
    <div class="container mx-auto py-5">
        <div class="card">
            <div class="card-title p-3">
                <h3>Edit</h3>
            </div>
            <div class="card-body">
                <img src="<?php echo e(asset($service->photo)); ?>" style="width: 200px;height:200px" alt="">
                <form action="<?php echo e(route('service.update',$service->id)); ?>" method="POST" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <!-- Image Upload (optional) -->
                    <div class="form-group my-3">
                        <label>Title</label>
                        <input required type="text" name="title" class="form-control" value="<?php echo e($service->title); ?>"
                            placeholder="Write blog title...">
                    </div>
                      <div class="form-group my-3">
                        <label>Cover Photo</label>
                        <input type="file" name="photo" class="form-control">
                    </div>
                    <!-- Summernote Editor for Content -->
                    <textarea required name="content" class="summernote">
                        <?php echo e($service->content); ?>

                    </textarea>



                    <div class="mt-4">
                        <button type="submit" class="btn btn-success" style="float: right;">Publish</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH D:\Upwork\DirtyDancer\resources\views/service/edit.blade.php ENDPATH**/ ?>