<?php $__env->startSection('title', $title); ?>
<?php $__env->startSection('ad_page_title', 'Edit Maid Visa Page'); ?>
<?php $__env->startSection('ad_page_subtitle', 'Edit labels/text (EN/AR) + SEO'); ?>

<?php $__env->startSection('ad_content'); ?>
    <?php
        $contentEn = $contentEn ?? [];
        $contentAr = $contentAr ?? [];
    ?>

    <div class="container-fluid py-4">
        <div class="mb-4">
            <h1 class="h3 mb-1">Maid Visa Page</h1>
            <p class="text-muted mb-0">Hero, benefits, pricing, documents, steps, comparison table, FAQ, and contact.</p>
        </div>

        <?php if(session('success')): ?>
            <div class="alert alert-success" role="alert"><?php echo e(session('success')); ?></div>
        <?php endif; ?>

        <?php if($errors->any()): ?>
            <div class="alert alert-danger" role="alert">
                <ul class="mb-0">
                    <?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 action="<?php echo e(route('admin.pages.maid-visa.update')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>

            <div class="card shadow-sm border-0">
                <div class="card-body p-4">
                    <ul class="nav nav-tabs mb-4" role="tablist">
                        <li class="nav-item" role="presentation">
                            <button class="nav-link active" type="button" data-bs-toggle="tab" data-bs-target="#tab-en" role="tab">English</button>
                        </li>
                        <li class="nav-item" role="presentation">
                            <button class="nav-link" type="button" data-bs-toggle="tab" data-bs-target="#tab-ar" role="tab" dir="rtl">Arabic</button>
                        </li>
                    </ul>

                    <div class="tab-content">
                        <div class="tab-pane fade show active" id="tab-en" role="tabpanel">
                            <div class="row g-4">
                                <div class="col-12"><div class="fw-bold mb-2">Hero</div></div>
                                <?php $__currentLoopData = ['badge', 'title_line1', 'title_line2', 'note', 'price', 'call_me_back', 'call_us', 'whatsapp', 'whatsapp_href', 'image_alt']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e(str_replace('_', ' ', $field)); ?></label>
                                        <input class="form-control" name="en[hero][<?php echo e($field); ?>]" value="<?php echo e(old('en.hero.'.$field, data_get($contentEn, 'hero.'.$field))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">Benefits</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[benefits][kicker]" value="<?php echo e(old('en.benefits.kicker', data_get($contentEn, 'benefits.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="en[benefits][h2]" value="<?php echo e(old('en.benefits.h2', data_get($contentEn, 'benefits.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="3" name="en[benefits][intro]"><?php echo e(old('en.benefits.intro', data_get($contentEn, 'benefits.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 9; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Benefit <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="en[benefits][items][<?php echo e($i); ?>]" value="<?php echo e(old('en.benefits.items.'.$i, data_get($contentEn, 'benefits.items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">Pricing card</div></div>
                                <?php $__currentLoopData = ['card_title', 'fee_one_label', 'fee_one_value', 'fee_two_label', 'fee_two_value', 'call_me_back', 'call_us', 'apply_now', 'apply_whatsapp_href']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e(str_replace('_', ' ', $field)); ?></label>
                                        <input class="form-control" name="en[pricing][<?php echo e($field); ?>]" value="<?php echo e(old('en.pricing.'.$field, data_get($contentEn, 'pricing.'.$field))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">Documents</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[documents][kicker]" value="<?php echo e(old('en.documents.kicker', data_get($contentEn, 'documents.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="en[documents][h2]" value="<?php echo e(old('en.documents.h2', data_get($contentEn, 'documents.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="en[documents][intro]"><?php echo e(old('en.documents.intro', data_get($contentEn, 'documents.intro'))); ?></textarea>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Employer column title</label>
                                    <input class="form-control" name="en[documents][employer_title]" value="<?php echo e(old('en.documents.employer_title', data_get($contentEn, 'documents.employer_title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Maid column title</label>
                                    <input class="form-control" name="en[documents][maid_title]" value="<?php echo e(old('en.documents.maid_title', data_get($contentEn, 'documents.maid_title'))); ?>">
                                </div>
                                <?php for($i = 0; $i < 2; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Employer item <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="en[documents][employer_items][<?php echo e($i); ?>]" value="<?php echo e(old('en.documents.employer_items.'.$i, data_get($contentEn, 'documents.employer_items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Maid item <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="en[documents][maid_items][<?php echo e($i); ?>]" value="<?php echo e(old('en.documents.maid_items.'.$i, data_get($contentEn, 'documents.maid_items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">How it works</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[how_it_works][kicker]" value="<?php echo e(old('en.how_it_works.kicker', data_get($contentEn, 'how_it_works.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="en[how_it_works][h2]" value="<?php echo e(old('en.how_it_works.h2', data_get($contentEn, 'how_it_works.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="en[how_it_works][intro]"><?php echo e(old('en.how_it_works.intro', data_get($contentEn, 'how_it_works.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Step <?php echo e($i + 1); ?> title</label>
                                        <input class="form-control" name="en[how_it_works][steps][<?php echo e($i); ?>][title]" value="<?php echo e(old('en.how_it_works.steps.'.$i.'.title', data_get($contentEn, 'how_it_works.steps.'.$i.'.title'))); ?>">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Step <?php echo e($i + 1); ?> text</label>
                                        <textarea class="form-control" rows="2" name="en[how_it_works][steps][<?php echo e($i); ?>][text]"><?php echo e(old('en.how_it_works.steps.'.$i.'.text', data_get($contentEn, 'how_it_works.steps.'.$i.'.text'))); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">Comparison</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[comparison][kicker]" value="<?php echo e(old('en.comparison.kicker', data_get($contentEn, 'comparison.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="en[comparison][h2]" value="<?php echo e(old('en.comparison.h2', data_get($contentEn, 'comparison.h2'))); ?>">
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-12">
                                        <label class="form-label">Intro paragraph <?php echo e($i + 1); ?></label>
                                        <textarea class="form-control" rows="2" name="en[comparison][intro][<?php echo e($i); ?>]"><?php echo e(old('en.comparison.intro.'.$i, data_get($contentEn, 'comparison.intro.'.$i))); ?></textarea>
                                    </div>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Table header <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="en[comparison][table_headers][<?php echo e($i); ?>]" value="<?php echo e(old('en.comparison.table_headers.'.$i, data_get($contentEn, 'comparison.table_headers.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>
                                <?php for($r = 0; $r < 8; $r++): ?>
                                    <?php for($c = 0; $c < 3; $c++): ?>
                                        <div class="col-lg-4">
                                            <label class="form-label">Row <?php echo e($r + 1); ?> col <?php echo e($c + 1); ?></label>
                                            <input class="form-control" name="en[comparison][rows][<?php echo e($r); ?>][<?php echo e($c); ?>]" value="<?php echo e(old('en.comparison.rows.'.$r.'.'.$c, data_get($contentEn, 'comparison.rows.'.$r.'.'.$c))); ?>">
                                        </div>
                                    <?php endfor; ?>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Footer pill <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="en[comparison][footer_pills][<?php echo e($i); ?>]" value="<?php echo e(old('en.comparison.footer_pills.'.$i, data_get($contentEn, 'comparison.footer_pills.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">FAQ</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[faq][kicker]" value="<?php echo e(old('en.faq.kicker', data_get($contentEn, 'faq.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="en[faq][h2]" value="<?php echo e(old('en.faq.h2', data_get($contentEn, 'faq.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="en[faq][intro]"><?php echo e(old('en.faq.intro', data_get($contentEn, 'faq.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 4; $i++): ?>
                                    <div class="col-12">
                                        <label class="form-label">FAQ <?php echo e($i + 1); ?> question</label>
                                        <input class="form-control" name="en[faq][items][<?php echo e($i); ?>][question]" value="<?php echo e(old('en.faq.items.'.$i.'.question', data_get($contentEn, 'faq.items.'.$i.'.question'))); ?>">
                                    </div>
                                    <div class="col-12">
                                        <label class="form-label">FAQ <?php echo e($i + 1); ?> answer (HTML ok)</label>
                                        <textarea class="form-control" rows="4" name="en[faq][items][<?php echo e($i); ?>][answer]"><?php echo e(old('en.faq.items.'.$i.'.answer', data_get($contentEn, 'faq.items.'.$i.'.answer'))); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <?php echo $__env->make('admin.pages._contact-block-fields', ['prefix' => 'en', 'c' => $contentEn], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </div>
                        </div>

                        <div class="tab-pane fade" id="tab-ar" role="tabpanel">
                            <div class="row g-4" dir="rtl">
                                <div class="col-12"><div class="fw-bold mb-2">Hero</div></div>
                                <?php $__currentLoopData = ['badge', 'title_line1', 'title_line2', 'note', 'price', 'call_me_back', 'call_us', 'whatsapp', 'whatsapp_href', 'image_alt']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e(str_replace('_', ' ', $field)); ?></label>
                                        <input class="form-control" name="ar[hero][<?php echo e($field); ?>]" value="<?php echo e(old('ar.hero.'.$field, data_get($contentAr, 'hero.'.$field))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">المزايا</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="ar[benefits][kicker]" value="<?php echo e(old('ar.benefits.kicker', data_get($contentAr, 'benefits.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="ar[benefits][h2]" value="<?php echo e(old('ar.benefits.h2', data_get($contentAr, 'benefits.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="3" name="ar[benefits][intro]"><?php echo e(old('ar.benefits.intro', data_get($contentAr, 'benefits.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 9; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Benefit <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[benefits][items][<?php echo e($i); ?>]" value="<?php echo e(old('ar.benefits.items.'.$i, data_get($contentAr, 'benefits.items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">التسعير</div></div>
                                <?php $__currentLoopData = ['card_title', 'fee_one_label', 'fee_one_value', 'fee_two_label', 'fee_two_value', 'call_me_back', 'call_us', 'apply_now', 'apply_whatsapp_href']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e(str_replace('_', ' ', $field)); ?></label>
                                        <input class="form-control" name="ar[pricing][<?php echo e($field); ?>]" value="<?php echo e(old('ar.pricing.'.$field, data_get($contentAr, 'pricing.'.$field))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">المستندات</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="ar[documents][kicker]" value="<?php echo e(old('ar.documents.kicker', data_get($contentAr, 'documents.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="ar[documents][h2]" value="<?php echo e(old('ar.documents.h2', data_get($contentAr, 'documents.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="ar[documents][intro]"><?php echo e(old('ar.documents.intro', data_get($contentAr, 'documents.intro'))); ?></textarea>
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Employer title</label>
                                    <input class="form-control" name="ar[documents][employer_title]" value="<?php echo e(old('ar.documents.employer_title', data_get($contentAr, 'documents.employer_title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Maid title</label>
                                    <input class="form-control" name="ar[documents][maid_title]" value="<?php echo e(old('ar.documents.maid_title', data_get($contentAr, 'documents.maid_title'))); ?>">
                                </div>
                                <?php for($i = 0; $i < 2; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Employer item <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[documents][employer_items][<?php echo e($i); ?>]" value="<?php echo e(old('ar.documents.employer_items.'.$i, data_get($contentAr, 'documents.employer_items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Maid item <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[documents][maid_items][<?php echo e($i); ?>]" value="<?php echo e(old('ar.documents.maid_items.'.$i, data_get($contentAr, 'documents.maid_items.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">كيف تعمل</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="ar[how_it_works][kicker]" value="<?php echo e(old('ar.how_it_works.kicker', data_get($contentAr, 'how_it_works.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="ar[how_it_works][h2]" value="<?php echo e(old('ar.how_it_works.h2', data_get($contentAr, 'how_it_works.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="ar[how_it_works][intro]"><?php echo e(old('ar.how_it_works.intro', data_get($contentAr, 'how_it_works.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Step <?php echo e($i + 1); ?> title</label>
                                        <input class="form-control" name="ar[how_it_works][steps][<?php echo e($i); ?>][title]" value="<?php echo e(old('ar.how_it_works.steps.'.$i.'.title', data_get($contentAr, 'how_it_works.steps.'.$i.'.title'))); ?>">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Step <?php echo e($i + 1); ?> text</label>
                                        <textarea class="form-control" rows="2" name="ar[how_it_works][steps][<?php echo e($i); ?>][text]"><?php echo e(old('ar.how_it_works.steps.'.$i.'.text', data_get($contentAr, 'how_it_works.steps.'.$i.'.text'))); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">Comparison</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="ar[comparison][kicker]" value="<?php echo e(old('ar.comparison.kicker', data_get($contentAr, 'comparison.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="ar[comparison][h2]" value="<?php echo e(old('ar.comparison.h2', data_get($contentAr, 'comparison.h2'))); ?>">
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-12">
                                        <label class="form-label">Intro <?php echo e($i + 1); ?></label>
                                        <textarea class="form-control" rows="2" name="ar[comparison][intro][<?php echo e($i); ?>]"><?php echo e(old('ar.comparison.intro.'.$i, data_get($contentAr, 'comparison.intro.'.$i))); ?></textarea>
                                    </div>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Header <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[comparison][table_headers][<?php echo e($i); ?>]" value="<?php echo e(old('ar.comparison.table_headers.'.$i, data_get($contentAr, 'comparison.table_headers.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>
                                <?php for($r = 0; $r < 8; $r++): ?>
                                    <?php for($c = 0; $c < 3; $c++): ?>
                                        <div class="col-lg-4">
                                            <label class="form-label">Row <?php echo e($r + 1); ?> col <?php echo e($c + 1); ?></label>
                                            <input class="form-control" name="ar[comparison][rows][<?php echo e($r); ?>][<?php echo e($c); ?>]" value="<?php echo e(old('ar.comparison.rows.'.$r.'.'.$c, data_get($contentAr, 'comparison.rows.'.$r.'.'.$c))); ?>">
                                        </div>
                                    <?php endfor; ?>
                                <?php endfor; ?>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-4">
                                        <label class="form-label">Pill <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[comparison][footer_pills][<?php echo e($i); ?>]" value="<?php echo e(old('ar.comparison.footer_pills.'.$i, data_get($contentAr, 'comparison.footer_pills.'.$i))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"><div class="fw-bold mb-2">FAQ</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="ar[faq][kicker]" value="<?php echo e(old('ar.faq.kicker', data_get($contentAr, 'faq.kicker'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">H2</label>
                                    <input class="form-control" name="ar[faq][h2]" value="<?php echo e(old('ar.faq.h2', data_get($contentAr, 'faq.h2'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Intro</label>
                                    <textarea class="form-control" rows="2" name="ar[faq][intro]"><?php echo e(old('ar.faq.intro', data_get($contentAr, 'faq.intro'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 4; $i++): ?>
                                    <div class="col-12">
                                        <label class="form-label">Question <?php echo e($i + 1); ?></label>
                                        <input class="form-control" name="ar[faq][items][<?php echo e($i); ?>][question]" value="<?php echo e(old('ar.faq.items.'.$i.'.question', data_get($contentAr, 'faq.items.'.$i.'.question'))); ?>">
                                    </div>
                                    <div class="col-12">
                                        <label class="form-label">Answer <?php echo e($i + 1); ?></label>
                                        <textarea class="form-control" rows="4" name="ar[faq][items][<?php echo e($i); ?>][answer]"><?php echo e(old('ar.faq.items.'.$i.'.answer', data_get($contentAr, 'faq.items.'.$i.'.answer'))); ?></textarea>
                                    </div>
                                <?php endfor; ?>

                                <?php echo $__env->make('admin.pages._contact-block-fields', ['prefix' => 'ar', 'c' => $contentAr], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                            </div>
                        </div>
                    </div>

                    <hr class="my-4">
                    <?php echo $__env->make('admin.pages._seo-fields', ['seo' => $seo], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

                    <div class="d-flex justify-content-end gap-2 mt-4">
                        <a href="<?php echo e(route('admin.dashboard')); ?>" class="btn btn-light border">Cancel</a>
                        <button type="submit" class="btn btn-primary px-4">Save Changes</button>
                    </div>
                </div>
            </div>
        </form>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.ad_master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/onesourceerp/public_html/project/resources/views/admin/pages/maid-visa/edit.blade.php ENDPATH**/ ?>