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

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

    <div class="container-fluid py-4">
        <div class="mb-4 d-flex flex-wrap align-items-center gap-3">
            <div>
                <h1 class="h3 mb-1">Profiles Page Settings</h1>
                <p class="text-muted mb-0">Edit texts and links used on the Profiles page. Save will update the database for this page only.</p>
            </div>
        </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">
                <div class="fw-bold mb-2">Fix the following issues:</div>
                <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.profiles.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">Video modal</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">Title</label>
                                    <input class="form-control" name="en[video_modal][title]" value="<?php echo e(old('en.video_modal.title', data_get($contentEn, 'video_modal.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Subtitle</label>
                                    <input class="form-control" name="en[video_modal][subtitle]" value="<?php echo e(old('en.video_modal.subtitle', data_get($contentEn, 'video_modal.subtitle'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Prev</label>
                                    <input class="form-control" name="en[video_modal][prev]" value="<?php echo e(old('en.video_modal.prev', data_get($contentEn, 'video_modal.prev'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Next</label>
                                    <input class="form-control" name="en[video_modal][next]" value="<?php echo e(old('en.video_modal.next', data_get($contentEn, 'video_modal.next'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Download</label>
                                    <input class="form-control" name="en[video_modal][download]" value="<?php echo e(old('en.video_modal.download', data_get($contentEn, 'video_modal.download'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Share</label>
                                    <input class="form-control" name="en[video_modal][share]" value="<?php echo e(old('en.video_modal.share', data_get($contentEn, 'video_modal.share'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Speed label</label>
                                    <input class="form-control" name="en[video_modal][speed]" value="<?php echo e(old('en.video_modal.speed', data_get($contentEn, 'video_modal.speed'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">Close aria-label</label>
                                    <input class="form-control" name="en[video_modal][close_aria]" value="<?php echo e(old('en.video_modal.close_aria', data_get($contentEn, 'video_modal.close_aria'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">Top section</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Nationality title</label>
                                    <input class="form-control" name="en[top][nationality_title]" value="<?php echo e(old('en.top.nationality_title', data_get($contentEn, 'top.nationality_title'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Showing prefix</label>
                                    <input class="form-control" name="en[top][selection_showing_prefix]" value="<?php echo e(old('en.top.selection_showing_prefix', data_get($contentEn, 'top.selection_showing_prefix'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">All nationalities label</label>
                                    <input class="form-control" name="en[top][all_nationalities]" value="<?php echo e(old('en.top.all_nationalities', data_get($contentEn, 'top.all_nationalities'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Search placeholder</label>
                                    <input class="form-control" name="en[top][search_placeholder]" value="<?php echo e(old('en.top.search_placeholder', data_get($contentEn, 'top.search_placeholder'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Count singular</label>
                                    <input class="form-control" name="en[top][candidates_count_singular]" value="<?php echo e(old('en.top.candidates_count_singular', data_get($contentEn, 'top.candidates_count_singular'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Count plural</label>
                                    <input class="form-control" name="en[top][candidates_count_plural]" value="<?php echo e(old('en.top.candidates_count_plural', data_get($contentEn, 'top.candidates_count_plural'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">Filters</div></div>
                                <?php $filterKeys = ['sponsorship','availability','age','experience','language','religion']; ?>
                                <?php $__currentLoopData = $filterKeys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e(ucfirst($fk)); ?> title</label>
                                        <input class="form-control" name="en[filters][<?php echo e($fk); ?>][title]" value="<?php echo e(old('en.filters.' . $fk . '.title', data_get($contentEn, 'filters.' . $fk . '.title'))); ?>">
                                    </div>
                                    <div class="col-lg-8">
                                        <label class="form-label"><?php echo e(ucfirst($fk)); ?> select title</label>
                                        <input class="form-control" name="en[filters][<?php echo e($fk); ?>][select_title]" value="<?php echo e(old('en.filters.' . $fk . '.select_title', data_get($contentEn, 'filters.' . $fk . '.select_title'))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-lg-3">
                                    <label class="form-label">Apply button</label>
                                    <input class="form-control" name="en[filters][apply]" value="<?php echo e(old('en.filters.apply', data_get($contentEn, 'filters.apply'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Reset button</label>
                                    <input class="form-control" name="en[filters][reset]" value="<?php echo e(old('en.filters.reset', data_get($contentEn, 'filters.reset'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Availability (inside)</label>
                                    <input class="form-control" name="en[filters][availability_inside]" value="<?php echo e(old('en.filters.availability_inside', data_get($contentEn, 'filters.availability_inside'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">Availability (outside)</label>
                                    <input class="form-control" name="en[filters][availability_outside]" value="<?php echo e(old('en.filters.availability_outside', data_get($contentEn, 'filters.availability_outside'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Sponsorship (tadbeer)</label>
                                    <input class="form-control" name="en[filters][sponsorship_tadbeer]" value="<?php echo e(old('en.filters.sponsorship_tadbeer', data_get($contentEn, 'filters.sponsorship_tadbeer'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Sponsorship (family)</label>
                                    <input class="form-control" name="en[filters][sponsorship_family]" value="<?php echo e(old('en.filters.sponsorship_family', data_get($contentEn, 'filters.sponsorship_family'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">Empty state + Load more</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">Empty title</label>
                                    <input class="form-control" name="en[empty_state][title]" value="<?php echo e(old('en.empty_state.title', data_get($contentEn, 'empty_state.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Load more text</label>
                                    <input class="form-control" name="en[load_more]" value="<?php echo e(old('en.load_more', data_get($contentEn, 'load_more'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">Empty description</label>
                                    <textarea class="form-control" rows="2" name="en[empty_state][description]"><?php echo e(old('en.empty_state.description', data_get($contentEn, 'empty_state.description'))); ?></textarea>
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">CTA band</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">Title</label>
                                    <input class="form-control" name="en[cta_band][title]" value="<?php echo e(old('en.cta_band.title', data_get($contentEn, 'cta_band.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">Description</label>
                                    <textarea class="form-control" rows="2" name="en[cta_band][description]"><?php echo e(old('en.cta_band.description', data_get($contentEn, 'cta_band.description'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> text</label>
                                        <input class="form-control" name="en[cta_band][actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('en.cta_band.actions.' . $i . '.text', data_get($contentEn, 'cta_band.actions.' . $i . '.text'))); ?>">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">Action <?php echo e($i+1); ?> href</label>
                                        <input class="form-control" name="en[cta_band][actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('en.cta_band.actions.' . $i . '.href', data_get($contentEn, 'cta_band.actions.' . $i . '.href'))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">Candidate card labels</div></div>
                                <?php
                                    $labelFields = [
                                        'nationality','availability','religion','speaks','marital_status','children','experience',
                                        'experience_years_suffix','experience_countries','view_cv','salary','hire_me','share_aria','save_aria','play_aria'
                                    ];
                                ?>
                                <?php $__currentLoopData = $labelFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e($lf); ?></label>
                                        <input class="form-control" name="en[labels][<?php echo e($lf); ?>]" value="<?php echo e(old('en.labels.' . $lf, data_get($contentEn, 'labels.' . $lf))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">Availability chip labels</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Inside & Outside</label>
                                    <input class="form-control" name="en[availability_chip][inside_outside]" value="<?php echo e(old('en.availability_chip.inside_outside', data_get($contentEn, 'availability_chip.inside_outside'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Inside</label>
                                    <input class="form-control" name="en[availability_chip][inside]" value="<?php echo e(old('en.availability_chip.inside', data_get($contentEn, 'availability_chip.inside'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Outside</label>
                                    <input class="form-control" name="en[availability_chip][outside]" value="<?php echo e(old('en.availability_chip.outside', data_get($contentEn, 'availability_chip.outside'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">WhatsApp</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Phone (digits only)</label>
                                    <input class="form-control" name="en[whatsapp][phone]" value="<?php echo e(old('en.whatsapp.phone', data_get($contentEn, 'whatsapp.phone'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">Message template (use {name} and {code})</label>
                                    <input class="form-control" name="en[whatsapp][message_template]" value="<?php echo e(old('en.whatsapp.message_template', data_get($contentEn, 'whatsapp.message_template'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                               <div class="col-12 mt-2"><div class="fw-bold mb-2">Contact section</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">Kicker</label>
                                    <input class="form-control" name="en[contact_section][page][kicker]" value="<?php echo e(old('en.contact_section.page.kicker', data_get($contentEn, 'contact_section.page.kicker'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Heading</label>
                                    <input class="form-control" name="en[contact_section][page][heading]" value="<?php echo e(old('en.contact_section.page.heading', data_get($contentEn, 'contact_section.page.heading'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Description</label>
                                    <textarea class="form-control" rows="2" name="en[contact_section][page][description]"><?php echo e(old('en.contact_section.page.description', data_get($contentEn, 'contact_section.page.description'))); ?></textarea>
                                </div>
                                <?php echo $__env->make('admin.pages._contact-block-fields', [
                                    'prefix' => 'en.contact_section',
                                    'nameRoot' => 'en[contact_section]',
                                    'dotPrefix' => 'en.contact_section',
                                    'c' => data_get($contentEn, 'contact_section', []),
                                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                
                            </div>
                        </div>

                        <div class="tab-pane fade" id="tab-ar" role="tabpanel" dir="rtl">
                            <div class="row g-4">
                                <div class="col-12"><div class="fw-bold mb-2">نافذة الفيديو</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">العنوان</label>
                                    <input class="form-control" name="ar[video_modal][title]" value="<?php echo e(old('ar.video_modal.title', data_get($contentAr, 'video_modal.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">الوصف</label>
                                    <input class="form-control" name="ar[video_modal][subtitle]" value="<?php echo e(old('ar.video_modal.subtitle', data_get($contentAr, 'video_modal.subtitle'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">السابق</label>
                                    <input class="form-control" name="ar[video_modal][prev]" value="<?php echo e(old('ar.video_modal.prev', data_get($contentAr, 'video_modal.prev'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">التالي</label>
                                    <input class="form-control" name="ar[video_modal][next]" value="<?php echo e(old('ar.video_modal.next', data_get($contentAr, 'video_modal.next'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">تحميل</label>
                                    <input class="form-control" name="ar[video_modal][download]" value="<?php echo e(old('ar.video_modal.download', data_get($contentAr, 'video_modal.download'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">مشاركة</label>
                                    <input class="form-control" name="ar[video_modal][share]" value="<?php echo e(old('ar.video_modal.share', data_get($contentAr, 'video_modal.share'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">تسمية السرعة</label>
                                    <input class="form-control" name="ar[video_modal][speed]" value="<?php echo e(old('ar.video_modal.speed', data_get($contentAr, 'video_modal.speed'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">aria-label للإغلاق</label>
                                    <input class="form-control" name="ar[video_modal][close_aria]" value="<?php echo e(old('ar.video_modal.close_aria', data_get($contentAr, 'video_modal.close_aria'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">الجزء العلوي</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">عنوان الجنسيات</label>
                                    <input class="form-control" name="ar[top][nationality_title]" value="<?php echo e(old('ar.top.nationality_title', data_get($contentAr, 'top.nationality_title'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">بادئة العرض</label>
                                    <input class="form-control" name="ar[top][selection_showing_prefix]" value="<?php echo e(old('ar.top.selection_showing_prefix', data_get($contentAr, 'top.selection_showing_prefix'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">نص كل الجنسيات</label>
                                    <input class="form-control" name="ar[top][all_nationalities]" value="<?php echo e(old('ar.top.all_nationalities', data_get($contentAr, 'top.all_nationalities'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">placeholder للبحث</label>
                                    <input class="form-control" name="ar[top][search_placeholder]" value="<?php echo e(old('ar.top.search_placeholder', data_get($contentAr, 'top.search_placeholder'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">مفرد</label>
                                    <input class="form-control" name="ar[top][candidates_count_singular]" value="<?php echo e(old('ar.top.candidates_count_singular', data_get($contentAr, 'top.candidates_count_singular'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">جمع</label>
                                    <input class="form-control" name="ar[top][candidates_count_plural]" value="<?php echo e(old('ar.top.candidates_count_plural', data_get($contentAr, 'top.candidates_count_plural'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">الفلاتر</div></div>
                                <?php $filterKeys = ['sponsorship','availability','age','experience','language','religion']; ?>
                                <?php $__currentLoopData = $filterKeys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e($fk); ?> (عنوان)</label>
                                        <input class="form-control" name="ar[filters][<?php echo e($fk); ?>][title]" value="<?php echo e(old('ar.filters.' . $fk . '.title', data_get($contentAr, 'filters.' . $fk . '.title'))); ?>">
                                    </div>
                                    <div class="col-lg-8">
                                        <label class="form-label"><?php echo e($fk); ?> (عنوان الاختيار)</label>
                                        <input class="form-control" name="ar[filters][<?php echo e($fk); ?>][select_title]" value="<?php echo e(old('ar.filters.' . $fk . '.select_title', data_get($contentAr, 'filters.' . $fk . '.select_title'))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <div class="col-lg-3">
                                    <label class="form-label">زر تطبيق</label>
                                    <input class="form-control" name="ar[filters][apply]" value="<?php echo e(old('ar.filters.apply', data_get($contentAr, 'filters.apply'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">زر إعادة ضبط</label>
                                    <input class="form-control" name="ar[filters][reset]" value="<?php echo e(old('ar.filters.reset', data_get($contentAr, 'filters.reset'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">داخل الإمارات</label>
                                    <input class="form-control" name="ar[filters][availability_inside]" value="<?php echo e(old('ar.filters.availability_inside', data_get($contentAr, 'filters.availability_inside'))); ?>">
                                </div>
                                <div class="col-lg-3">
                                    <label class="form-label">خارج الإمارات</label>
                                    <input class="form-control" name="ar[filters][availability_outside]" value="<?php echo e(old('ar.filters.availability_outside', data_get($contentAr, 'filters.availability_outside'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">تدبير</label>
                                    <input class="form-control" name="ar[filters][sponsorship_tadbeer]" value="<?php echo e(old('ar.filters.sponsorship_tadbeer', data_get($contentAr, 'filters.sponsorship_tadbeer'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">عائلية</label>
                                    <input class="form-control" name="ar[filters][sponsorship_family]" value="<?php echo e(old('ar.filters.sponsorship_family', data_get($contentAr, 'filters.sponsorship_family'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">حالة عدم وجود نتائج + زر المزيد</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">عنوان</label>
                                    <input class="form-control" name="ar[empty_state][title]" value="<?php echo e(old('ar.empty_state.title', data_get($contentAr, 'empty_state.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">نص زر المزيد</label>
                                    <input class="form-control" name="ar[load_more]" value="<?php echo e(old('ar.load_more', data_get($contentAr, 'load_more'))); ?>">
                                </div>
                                <div class="col-12">
                                    <label class="form-label">وصف</label>
                                    <textarea class="form-control" rows="2" name="ar[empty_state][description]"><?php echo e(old('ar.empty_state.description', data_get($contentAr, 'empty_state.description'))); ?></textarea>
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">شريط CTA</div></div>
                                <div class="col-lg-6">
                                    <label class="form-label">العنوان</label>
                                    <input class="form-control" name="ar[cta_band][title]" value="<?php echo e(old('ar.cta_band.title', data_get($contentAr, 'cta_band.title'))); ?>">
                                </div>
                                <div class="col-lg-6">
                                    <label class="form-label">الوصف</label>
                                    <textarea class="form-control" rows="2" name="ar[cta_band][description]"><?php echo e(old('ar.cta_band.description', data_get($contentAr, 'cta_band.description'))); ?></textarea>
                                </div>
                                <?php for($i = 0; $i < 3; $i++): ?>
                                    <div class="col-lg-6">
                                        <label class="form-label">نص الإجراء <?php echo e($i+1); ?></label>
                                        <input class="form-control" name="ar[cta_band][actions][<?php echo e($i); ?>][text]" value="<?php echo e(old('ar.cta_band.actions.' . $i . '.text', data_get($contentAr, 'cta_band.actions.' . $i . '.text'))); ?>">
                                    </div>
                                    <div class="col-lg-6">
                                        <label class="form-label">رابط الإجراء <?php echo e($i+1); ?></label>
                                        <input class="form-control" name="ar[cta_band][actions][<?php echo e($i); ?>][href]" value="<?php echo e(old('ar.cta_band.actions.' . $i . '.href', data_get($contentAr, 'cta_band.actions.' . $i . '.href'))); ?>">
                                    </div>
                                <?php endfor; ?>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">تسميات بطاقة المرشحة</div></div>
                                <?php
                                    $labelFields = [
                                        'nationality','availability','religion','speaks','marital_status','children','experience',
                                        'experience_years_suffix','experience_countries','view_cv','salary','hire_me','share_aria','save_aria','play_aria'
                                    ];
                                ?>
                                <?php $__currentLoopData = $labelFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lf): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-lg-4">
                                        <label class="form-label"><?php echo e($lf); ?></label>
                                        <input class="form-control" name="ar[labels][<?php echo e($lf); ?>]" value="<?php echo e(old('ar.labels.' . $lf, data_get($contentAr, 'labels.' . $lf))); ?>">
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">تسميات شريط التوفر</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">داخل/خارج</label>
                                    <input class="form-control" name="ar[availability_chip][inside_outside]" value="<?php echo e(old('ar.availability_chip.inside_outside', data_get($contentAr, 'availability_chip.inside_outside'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">داخل</label>
                                    <input class="form-control" name="ar[availability_chip][inside]" value="<?php echo e(old('ar.availability_chip.inside', data_get($contentAr, 'availability_chip.inside'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">خارج</label>
                                    <input class="form-control" name="ar[availability_chip][outside]" value="<?php echo e(old('ar.availability_chip.outside', data_get($contentAr, 'availability_chip.outside'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">واتساب</div></div>
                                <div class="col-lg-4">
                                    <label class="form-label">رقم (أرقام فقط)</label>
                                    <input class="form-control" name="ar[whatsapp][phone]" value="<?php echo e(old('ar.whatsapp.phone', data_get($contentAr, 'whatsapp.phone'))); ?>">
                                </div>
                                <div class="col-lg-8">
                                    <label class="form-label">قالب الرسالة (استخدم {name} و {code})</label>
                                    <input class="form-control" name="ar[whatsapp][message_template]" value="<?php echo e(old('ar.whatsapp.message_template', data_get($contentAr, 'whatsapp.message_template'))); ?>">
                                </div>

                                <div class="col-12"><hr class="my-2"></div>

                                <div class="col-12"><div class="fw-bold mb-2">تواصل أسفل صفحة الملفات فقط</div></div>
                                <p class="text-muted small col-12 mb-0">منفصل عن صفحة <strong>اتصل بنا</strong>. يظهر أسفل قائمة ملفات المرشحات.</p>
                                <div class="col-12 mt-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[contact_section][page][kicker]" value="<?php echo e(old('ar.contact_section.page.kicker', data_get($contentAr, 'contact_section.page.kicker'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Heading</label>
                                    <input class="form-control" name="ar[contact_section][page][heading]" value="<?php echo e(old('ar.contact_section.page.heading', data_get($contentAr, 'contact_section.page.heading'))); ?>">
                                </div>
                                <div class="col-lg-4">
                                    <label class="form-label">Description</label>
                                    <textarea class="form-control" rows="2" name="ar[contact_section][page][description]"><?php echo e(old('ar.contact_section.page.description', data_get($contentAr, 'contact_section.page.description'))); ?></textarea>
                                </div>
                                <?php echo $__env->make('admin.pages._contact-block-fields', [
                                    'prefix' => 'ar.contact_section',
                                    'nameRoot' => 'ar[contact_section]',
                                    'dotPrefix' => 'ar.contact_section',
                                    'c' => data_get($contentAr, 'contact_section', []),
                                ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
                                
                            </div>
                        </div>
                    </div>

                    <hr class="my-4">

                    <div class="row g-3">
                        <div class="col-lg-6">
                            <label class="form-label">SEO Title (EN)</label>
                            <input type="text" name="seo[title_en]" value="<?php echo e(old('seo.title_en', $seo->title_en)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Title (AR)</label>
                            <input type="text" name="seo[title_ar]" value="<?php echo e(old('seo.title_ar', $seo->title_ar)); ?>" dir="rtl" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">SEO Description (EN)</label>
                            <textarea name="seo[description_en]" rows="3" class="form-control"><?php echo e(old('seo.description_en', $seo->description_en)); ?></textarea>
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Description (AR)</label>
                            <textarea name="seo[description_ar]" rows="3" dir="rtl" class="form-control"><?php echo e(old('seo.description_ar', $seo->description_ar)); ?></textarea>
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">SEO Keywords (EN)</label>
                            <textarea name="seo[keywords_en]" rows="3" class="form-control"><?php echo e(old('seo.keywords_en', $seo->keywords_en)); ?></textarea>
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">SEO Keywords (AR)</label>
                            <textarea name="seo[keywords_ar]" rows="3" dir="rtl" class="form-control"><?php echo e(old('seo.keywords_ar', $seo->keywords_ar)); ?></textarea>
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">H1 Heading (EN)</label>
                            <input type="text" name="seo[heading_en]" value="<?php echo e(old('seo.heading_en', $seo->heading_en)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">H1 Heading (AR)</label>
                            <input type="text" name="seo[heading_ar]" value="<?php echo e(old('seo.heading_ar', $seo->heading_ar)); ?>" dir="rtl" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">Canonical URL</label>
                            <input type="text" name="seo[canonical_url]" value="<?php echo e(old('seo.canonical_url', $seo->canonical_url)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">Robots</label>
                            <input type="text" name="seo[robots]" value="<?php echo e(old('seo.robots', $seo->robots)); ?>" class="form-control">
                        </div>

                        <div class="col-lg-6">
                            <label class="form-label">OG Type</label>
                            <input type="text" name="seo[og_type]" value="<?php echo e(old('seo.og_type', $seo->og_type)); ?>" class="form-control">
                        </div>
                        <div class="col-lg-6">
                            <label class="form-label">Twitter Card</label>
                            <input type="text" name="seo[twitter_card]" value="<?php echo e(old('seo.twitter_card', $seo->twitter_card)); ?>" class="form-control">
                        </div>

                        <div class="col-lg-12">
                            <label class="form-label">Schema JSON</label>
                            <textarea name="seo[schema_json]" rows="3" class="form-control"><?php echo e(old('seo.schema_json', $seo->schema_json)); ?></textarea>
                        </div>
                    </div>

                    <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/profiles/edit.blade.php ENDPATH**/ ?>