<?php $__env->startSection('content'); ?>
    <div class="side-title">
        <h3><?php echo e($head ?? ''); ?></h3>
    </div>

    <div class="border-item">
        <form class="form-row" method="post" action="<?php echo e($action); ?>" enctype="multipart/form-data">
            <?php if($about ?? ''  && $about->id): ?>
                <?php echo method_field('PUT'); ?>
            <?php endif; ?>
            <?php echo csrf_field(); ?>

            <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="form-group col-lg-6">
                    <label><?php echo e(meta('home_title_1', $language->local) ?? __('abouts.home_title_1')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <input type="text" class="form-control <?php echo e($errors->has('home_title_1_'.$language->local) ? 'is-invalid' : ''); ?>" name="home_title_1_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('home_title_1', $language->local) ?? __('abouts.home_title_1')); ?>" value='<?php echo e(old("home_title_1_{$language->local}", $about[$language->local]->home_title_1 ?? "")); ?>'/>
                </div>
                <div class="form-group col-lg-6">
                    <label><?php echo e(meta('home_title_2', $language->local) ?? __('abouts.home_title_2')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <input type="text" class="form-control <?php echo e($errors->has('home_title_2_'.$language->local) ? 'is-invalid' : ''); ?>" name="home_title_2_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('home_title_2', $language->local) ?? __('abouts.home_title_2')); ?>" value='<?php echo e(old("home_title_2_{$language->local}", $about[$language->local]->home_title_2 ?? "")); ?>'/>
                </div>
                <div class="form-group col-lg-6">
                    <label><?php echo e(meta('icon_1_title', $language->local) ?? __('abouts.icon_1_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <input type="text" class="form-control <?php echo e($errors->has('icon_1_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="icon_1_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('icon_1_title', $language->local) ?? __('abouts.icon_1_title')); ?>" value='<?php echo e(old("icon_1_title_{$language->local}", $about[$language->local]->icon_1_title ?? "")); ?>'/>
                </div>
                <div class="form-group col-lg-6">
                    <label><?php echo e(meta('icon_2_title', $language->local) ?? __('abouts.icon_2_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <input type="text" class="form-control <?php echo e($errors->has('icon_2_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="icon_2_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('icon_2_title', $language->local) ?? __('abouts.icon_2_title')); ?>" value='<?php echo e(old("icon_2_title_{$language->local}", $about[$language->local]->icon_2_title ?? "")); ?>'/>
                </div>
                <div class="form-group col-lg-12">
                    <label><?php echo e(meta('home_description_1', $language->local) ?? __('abouts.home_description_1')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <textarea name="home_description_1_<?php echo e($language->local); ?>" class="form-control my-editor <?php echo e($errors->has('home_description_1_'.$language->local) ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(meta('home_description_1', $language->local) ?? __('abouts.home_description_1')); ?>"><?php echo e(old("home_description_1_{$language->local}", $about[$language->local]->home_description_1 ?? "")); ?></textarea>
                </div>
                <div class="form-group col-lg-12">
                    <label><?php echo e(meta('home_description_2', $language->local) ?? __('abouts.home_description_2')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <textarea name="home_description_2_<?php echo e($language->local); ?>" class="form-control my-editor <?php echo e($errors->has('home_description_2_'.$language->local) ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(meta('home_description_2', $language->local) ?? __('abouts.home_description_2')); ?>"><?php echo e(old("home_description_2_{$language->local}", $about[$language->local]->home_description_2 ?? "")); ?></textarea>
                </div>

                <div class="form-group col-lg-12">
                    <label><?php echo e(meta('about_description_1', $language->local) ?? __('abouts.about_description_1')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <textarea name="about_description_1_<?php echo e($language->local); ?>" class="form-control my-editor <?php echo e($errors->has('about_description_1_'.$language->local) ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(meta('about_description_1', $language->local) ?? __('abouts.about_description_1')); ?>"><?php echo e(old("about_description_1_{$language->local}", $about[$language->local]->about_description_1 ?? "")); ?></textarea>
                </div>
                <div class="form-group col-lg-12">
                    <label><?php echo e(meta('about_description_2', $language->local) ?? __('abouts.about_description_2')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
                    <textarea name="about_description_2_<?php echo e($language->local); ?>" class="form-control my-editor <?php echo e($errors->has('about_description_2_'.$language->local) ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(meta('about_description_2', $language->local) ?? __('abouts.about_description_2')); ?>"><?php echo e(old("about_description_2_{$language->local}", $about[$language->local]->about_description_2 ?? "")); ?></textarea>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('home_image_1', getCurrentLocale()) ?? __('abouts.home_image_1')); ?> </label>
                <input id="home_image_1_thumbnail" class="home_image_1_thumbnail" type="hidden" name="home_image_1" value="<?php echo e(old("home_image_1", $about->home_image_1 ?? "")); ?>"/>

                <div class="photos main_photo <?php echo e(old('home_image_1', $about->home_image_1 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".home_image_1_thumbnail" data-preview=".home_image_1_holder" class="lfm" data-hide=".pick_button">
                                    <img src="<?php echo e(asset(old('home_image_1', $about->home_image_1 ?? ''))); ?> "  id="home_image_1_holder" class="home_image_1_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".home_image_1_thumbnail" data-hide=".main_photo" data-show=".pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn pick_button <?php echo e(old('home_image_1', $about->home_image_1 ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".home_image_1_thumbnail" data-preview=".home_image_1_holder" data-show=".main_photo" data-hide=".pick_button" class="lfm btn btn-primary text-light">
                    <i class="fas fa-camera-retro"></i> Choose
                </a>
            </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('home_image_2', getCurrentLocale()) ?? __('abouts.home_image_2')); ?> </label>
                <input id="home_image_2_thumbnail" class="home_image_2_thumbnail" type="hidden" name="home_image_2" value="<?php echo e(old("home_image_2", $about->home_image_2 ?? "")); ?>"/>

                <div class="photos home_image_2_main_photo <?php echo e(old('home_image_2', $about->home_image_2 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".home_image_2_thumbnail" data-preview=".home_image_2_holder" class="lfm" data-hide=".home_image_2_pick_button">
                                    <img src="<?php echo e(asset(old('home_image_2', $about->home_image_2 ?? ''))); ?> "  id="home_image_2_holder" class="home_image_2_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".home_image_2_thumbnail" data-hide=".home_image_2_main_photo" data-show=".home_image_2_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn home_image_2_pick_button <?php echo e(old('home_image_2', $about->home_image_2 ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".home_image_2_thumbnail" data-preview=".home_image_2_holder" data-show=".home_image_2_main_photo" data-hide=".home_image_2_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('about_image_1', getCurrentLocale()) ?? __('abouts.about_image_1')); ?> </label>
                <input id="about_image_1_thumbnail" class="about_image_1_thumbnail" type="hidden" name="about_image_1" value="<?php echo e(old("about_image_1", $about->about_image_1 ?? "")); ?>"/>

                <div class="photos about_image_1_main_photo <?php echo e(old('about_image_1', $about->about_image_1 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".about_image_1_thumbnail" data-preview=".about_image_1_holder" class="lfm" data-hide=".about_image_1_pick_button">
                                    <img src="<?php echo e(asset(old('about_image_1', $about->about_image_1 ?? ''))); ?> "  id="about_image_1_holder" class="about_image_1_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".about_image_1_thumbnail" data-hide=".about_image_1_main_photo" data-show=".about_image_1_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn about_image_1_pick_button <?php echo e(old('about_image_1', $about->about_image_1 ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".about_image_1_thumbnail" data-preview=".about_image_1_holder" data-show=".about_image_1_main_photo" data-hide=".about_image_1_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('about_image_2', getCurrentLocale()) ?? __('abouts.about_image_2')); ?> </label>
                <input id="about_image_2_thumbnail" class="about_image_2_thumbnail" type="hidden" name="about_image_2" value="<?php echo e(old("about_image_2", $about->about_image_2 ?? "")); ?>"/>

                <div class="photos about_image_2_main_photo <?php echo e(old('about_image_2', $about->about_image_2 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".about_image_2_thumbnail" data-preview=".about_image_2_holder" class="lfm" data-hide=".about_image_2_pick_button">
                                    <img src="<?php echo e(asset(old('about_image_2', $about->about_image_2 ?? ''))); ?> "  id="about_image_2_holder" class="about_image_2_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".about_image_2_thumbnail" data-hide=".about_image_2_main_photo" data-show=".about_image_2_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn about_image_2_pick_button <?php echo e(old('about_image_2', $about->about_image_2 ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".about_image_2_thumbnail" data-preview=".about_image_2_holder" data-show=".about_image_2_main_photo" data-hide=".about_image_2_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('about_logo', getCurrentLocale()) ?? __('abouts.about_logo')); ?> </label>
                <input id="about_logo_thumbnail" class="about_logo_thumbnail" type="hidden" name="about_logo" value="<?php echo e(old("about_logo", $about->about_logo ?? "")); ?>"/>

                <div class="photos about_logo_main_photo <?php echo e(old('about_logo', $about->about_logo ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".about_logo_thumbnail" data-preview=".about_logo_holder" class="lfm" data-hide=".about_logo_pick_button">
                                    <img src="<?php echo e(asset(old('about_logo', $about->about_logo ?? ''))); ?> "  id="about_logo_holder" class="about_logo_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".about_logo_thumbnail" data-hide=".about_logo_main_photo" data-show=".about_logo_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn about_logo_pick_button <?php echo e(old('about_logo', $about->about_logo ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".about_logo_thumbnail" data-preview=".about_logo_holder" data-show=".about_logo_main_photo" data-hide=".about_logo_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('about_icon_1', getCurrentLocale()) ?? __('abouts.about_icon_1')); ?> </label>
                <input id="about_icon_1_thumbnail" class="about_icon_1_thumbnail" type="hidden" name="about_icon_1" value="<?php echo e(old("about_icon_1", $about->about_icon_1 ?? "")); ?>"/>

                <div class="photos about_icon_1_main_photo <?php echo e(old('about_icon_1', $about->about_icon_1 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".about_icon_1_thumbnail" data-preview=".about_icon_1_holder" class="lfm" data-hide=".about_icon_1_pick_button">
                                    <img src="<?php echo e(asset(old('about_icon_1', $about->about_icon_1 ?? ''))); ?> "  id="about_icon_1_holder" class="about_icon_1_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".about_icon_1_thumbnail" data-hide=".about_icon_1_main_photo" data-show=".about_icon_1_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn about_icon_1_pick_button <?php echo e(old('about_icon_1', $about->about_icon_1 ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".about_icon_1_thumbnail" data-preview=".about_icon_1_holder" data-show=".about_icon_1_main_photo" data-hide=".about_icon_1_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            
            <div class="form-group col-lg-3">
                <label><?php echo e(meta('about_icon_2', getCurrentLocale()) ?? __('abouts.about_icon_2')); ?> </label>
                <input id="about_icon_2_thumbnail" class="about_icon_2_thumbnail" type="hidden" name="about_icon_2" value="<?php echo e(old("about_icon_2", $about->about_icon_2 ?? "")); ?>"/>

                <div class="photos about_icon_2_main_photo <?php echo e(old('about_icon_2', $about->about_icon_2 ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                    <div class="col-lg-12">
                        <div class="items">
                            <div class="img">
                                <a href="#" id="lfm" data-input=".about_icon_2_thumbnail" data-preview=".about_icon_2_holder" class="lfm" data-hide=".about_icon_2_pick_button">
                                    <img src="<?php echo e(asset(old('about_icon_2', $about->about_icon_2 ?? ''))); ?> "  id="about_icon_2_holder" class="about_icon_2_holder"/>
                                </a>
                            </div>
                            <a href="#" class="showHide resetImage close" data-empty=".about_icon_2_thumbnail" data-hide=".about_icon_2_main_photo" data-show=".about_icon_2_pick_button"><i class="fas fa-times"></i></a>
                        </div>
                    </div>
                </div>

                <div class="clearfix"></div>
                <span class="input-group-btn about_icon_2_pick_button <?php echo e(old('about_icon_2', $about->about_icon_2 ?? '') ? 'hide' : ''); ?> ">
            <a id="lfm" data-input=".about_icon_2_thumbnail" data-preview=".about_icon_2_holder" data-show=".about_icon_2_main_photo" data-hide=".about_icon_2_pick_button" class="lfm btn btn-primary text-light">
                <i class="fas fa-camera-retro"></i> Choose
            </a>
        </span>
            </div>
            

            <div class="text-center mt-5 col-12">
                <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
            </div>
        </form>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS files -->
    <script src="<?php echo e(asset('/assets/admin/js/lib/tinymce.min.js')); ?>"></script>
    
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            currentLanguage = "<?php echo e(getCurrentLocale()); ?>",
            imagePath = "<?php echo e(asset('')); ?>",
            inputName = "";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/articles.js')); ?>"></script>
<?php $__env->stopSection(); ?>



<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\marketzy\resources\views/admin/abouts/form.blade.php ENDPATH**/ ?>