

<?php $__env->startSection('content'); ?>
    <h1 class="section-title text-4xl"><?php echo e(__('Edit')); ?> <?php echo e($pageContent->page); ?></h1>
    <p class="mt-4 max-w-3xl text-base leading-8 text-slate-600 dark:text-slate-300"><?php echo e(__('Page content')); ?> is editable as structured JSON to keep the site flexible for both Arabic and English.</p>

    <form method="POST" action="<?php echo e(route('admin.pages.update', $pageContent)); ?>" class="mt-8 space-y-5">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PUT'); ?>
        <div>
            <label class="label"><?php echo e(__('Content JSON')); ?></label>
            <textarea name="content" rows="30" class="field font-mono text-xs leading-6"><?php echo e(old('content', $content)); ?></textarea>
        </div>
        <button class="btn-primary"><?php echo e(__('Save Changes')); ?></button>
    </form>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', ['title' => __('Pages').' | Nivex'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\Nivex\Nivex\resources\views/admin/pages/form.blade.php ENDPATH**/ ?>