<?php $__env->startSection('title', 'Edit SEO Entry | '); ?>
<?php $__env->startSection('content'); ?>
    <section class="section dashboard">
        <div class="row">
            <div class="col-lg-12">

                <div class="card">
                    <div class="card-body">

                        <h5 class="card-title">Edit SEO Entry</h5>

                        <?php if($errors->any()): ?>
                            <div class="alert alert-danger">
                                <ul>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li><?php echo e($error); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        <?php endif; ?>

                        <form method="POST" action="<?php echo e(route('seo.update', $seo->id)); ?>">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>

                            <div class="mb-3">
                                <label for="page_url" class="form-label">Page URL</label>
                                <input type="text" name="page_url" id="page_url" class="form-control"
                                    value="<?php echo e(old('page_url', $seo->page_url)); ?>" placeholder="Enter page URL" required>
                            </div>

                            <div class="mb-3">
                                <label for="script" class="form-label">Script</label>
                                <textarea name="script" id="script" class="form-control" rows="5"
                                    placeholder="Enter the script here"><?php echo e(old('script', $seo->script)); ?></textarea>
                            </div>

                            <div class="mb-3">
                                <button type="submit" class="btn btn-primary">Update</button>
                                <a href="<?php echo e(route('seo.index')); ?>" class="btn btn-secondary">Cancel</a>
                            </div>

                        </form>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layout.main', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/brandsignages/resources/views/admin/seo/edit.blade.php ENDPATH**/ ?>