

<?php $__env->startSection('title'); ?>
    Edit SEO
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="card card-custom" id="kt_card_4">
        <div class="card-header">
            <h3 class="card-title">
                Edit Edit SEO for <?php echo e(ucfirst($seo->page_name)); ?>

            </h3>
        </div>
        <form class="form" action="<?php echo e(route('seos.update', $seo->page_name)); ?>" method="POST" enctype="multipart/form-data">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>
            <div class="card-body">

                <div class="form-group row">
                    <div class="col-lg-6">
                        <div class="bg-gray-200 rounded p-5">
                            <label>SEO Title:</label>
                            <input type="text" name="seo_title" class="form-control mb-2" placeholder="Enter <?php echo e(ucfirst($seo->page_name)); ?> seo title here" value="<?php echo e(old('seo_title', $seo->seo_title)); ?>" required />
                            <?php $__errorArgs = ['seo_title'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="text-danger"><?php echo e($message); ?></span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>
                    </div>

                    <div class="col-lg-6">
                        <div class="bg-gray-200 rounded p-5">
                            <label>SEO Keywords:</label>
                            <input type="text" name="seo_keywords" class="form-control mb-2" placeholder="Enter <?php echo e(ucfirst($seo->page_name)); ?> seo keywords here" value="<?php echo e(old('seo_keywords', $seo->seo_keywords)); ?>" required />
                            <?php $__errorArgs = ['seo_keywords'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="text-danger"><?php echo e($message); ?></span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>
                    </div>
                </div>

                <div class="form-group row">
                    <div class="col-lg-12">
                        <div class="bg-gray-200 rounded p-5">
                            <label>SEO Description: </label>
                            <textarea name="seo_description" rows="3" class="form-control" placeholder="Enter <?php echo e(ucfirst($seo->page_name)); ?> seo description"><?php echo e(old('seo_description', $seo->seo_description)); ?></textarea>
                            <?php $__errorArgs = ['seo_description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                <span class="text-danger"><?php echo e($message); ?></span>
                            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                        </div>
                    </div>
                </div>


            </div>

            <div class="card-footer">
                <div class="row">
                    <div class="col-lg-12 text-center">
                        <button type="submit" class="btn btn-success mr-2">Update SEO</button>
                        <a href="<?php echo e(route('seos.index')); ?>" class="btn btn-secondary">Cancel</a>
                    </div>
                </div>
            </div>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/khusbuoli/staging.khusbuoli.com/resources/views/admin/seo/edit.blade.php ENDPATH**/ ?>