<?php $__env->startSection('main_content'); ?>
<?php echo $__env->make('admin.layouts.nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php echo $__env->make('admin.layouts.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<div class="main-content">
    <section class="section">
        <div class="section-header d-flex justify-content-between">
            <h1><?php echo e(__('Edit Slider')); ?></h1>
            <div class="ml-auto">
                <a href="<?php echo e(route('admin_slider_index')); ?>" class="btn btn-primary"><i class="fas fa-plus"></i> <?php echo e(__('View All')); ?></a>
            </div>
        </div>
        <div class="section-body">
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                            <form action="<?php echo e(route('admin_slider_update', $slider->id)); ?>" method="post" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <div class="row">
                                    <div class="col-lg-12 mb-3">
                                        <label for=""><?php echo e(__('Existing Photo')); ?></label>
                                        <div><img src="<?php echo e(asset('uploads/'.$slider->photo)); ?>" alt="" class="w_200"></div>
                                    </div>
                                    <div class="col-lg-12 mb-3">
                                        <label for=""><?php echo e(__('Change Photo')); ?></label>
                                        <div><input type="file" name="photo"></div>
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Subheading')); ?> *</label>
                                        <textarea name="subheading" class="form-control h_100"><?php echo e($slider->subheading); ?></textarea>
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Heading')); ?> *</label>
                                        <textarea name="heading" class="form-control h_100"><?php echo e($slider->heading); ?></textarea>
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Button 1 - Text')); ?></label>
                                        <input type="text" name="button1_text" class="form-control" value="<?php echo e($slider->button1_text); ?>">
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Button 1 - Link')); ?></label>
                                        <input type="text" name="button1_link" class="form-control" value="<?php echo e($slider->button1_link); ?>">
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Button 2 - Text')); ?></label>
                                        <input type="text" name="button2_text" class="form-control" value="<?php echo e($slider->button2_text); ?>">
                                    </div>
                                    <div class="col-lg-6 mb-3">
                                        <label for=""><?php echo e(__('Button 2 - Link')); ?></label>
                                        <input type="text" name="button2_link" class="form-control" value="<?php echo e($slider->button2_link); ?>">
                                    </div>
                                    <div class="col-lg-12 mb-3">
                                        <button type="submit" class="btn btn-primary"><?php echo e(__('Update')); ?></button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/arefindigital/lawyer_sohel/main_files/resources/views/admin/slider/edit.blade.php ENDPATH**/ ?>