<?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(); ?>





        <div class="form-group col-lg-4">
            <label><?php echo e(meta('projects', getCurrentLocale()) ?? __('abouts.projects')); ?> </label>
            <input type="number" min="1" class="form-control <?php echo e($errors->has('projects') ? 'is-invalid' : ''); ?>" name="projects" placeholder="<?php echo e(meta('projects', getCurrentLocale()) ?? __('abouts.projects')); ?>" value='<?php echo e(old("projects", $about->projects ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-4">
            <label><?php echo e(meta('consultation', getCurrentLocale()) ?? __('abouts.consultation')); ?> </label>
            <input type="number" min="1" class="form-control <?php echo e($errors->has('consultation') ? 'is-invalid' : ''); ?>" name="consultation" placeholder="<?php echo e(meta('consultation', getCurrentLocale()) ?? __('abouts.consultation')); ?>" value='<?php echo e(old("consultation", $about->consultation ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-4">
            <label><?php echo e(meta('client', getCurrentLocale()) ?? __('abouts.client')); ?> </label>
            <input type="number" min="1" class="form-control <?php echo e($errors->has('client') ? 'is-invalid' : ''); ?>" name="client" placeholder="<?php echo e(meta('client', getCurrentLocale()) ?? __('abouts.client')); ?>" value='<?php echo e(old("client", $about->client ?? "")); ?>'/>
        </div>
        <?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('first_title', $language->local) ?? __('abouts.first_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('first_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="first_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('first_title', $language->local) ?? __('abouts.first_title')); ?>" value='<?php echo e(old("first_title_{$language->local}", $about[$language->local]->first_title ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-6">
            <label><?php echo e(meta('second_title', $language->local) ?? __('abouts.second_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('second_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="second_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('second_title', $language->local) ?? __('abouts.second_title')); ?>" value='<?php echo e(old("second_title_{$language->local}", $about[$language->local]->second_title ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-4">
            <label><?php echo e(meta('projects_title', $language->local) ?? __('abouts.projects_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('projects_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="projects_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('projects_title', $language->local) ?? __('abouts.projects_title')); ?>" value='<?php echo e(old("projects_title_{$language->local}", $about[$language->local]->projects_title ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-4">
            <label><?php echo e(meta('consultation_title', $language->local) ?? __('abouts.consultation_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('consultation_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="consultation_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('consultation_title', $language->local) ?? __('abouts.consultation_title')); ?>" value='<?php echo e(old("consultation_title_{$language->local}", $about[$language->local]->consultation_title ?? "")); ?>'/>
        </div>
        <div class="form-group col-lg-4">
            <label><?php echo e(meta('client_title', $language->local) ?? __('abouts.client_title')); ?> <?php echo e(count($languages) > 1 ? "({$language->name})" : ''); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('client_title_'.$language->local) ? 'is-invalid' : ''); ?>" name="client_title_<?php echo e($language->local); ?>" placeholder="<?php echo e(meta('client_title', $language->local) ?? __('abouts.client_title')); ?>" value='<?php echo e(old("client_title_{$language->local}", $about[$language->local]->client_title ?? "")); ?>'/>
        </div>












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

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

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

            <div class="clearfix"></div>
            <span class="input-group-btn over_view_pick_button <?php echo e(old('projects_image', $about->projects_image ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".projects_image_thumbnail" data-preview=".projects_image_holder" data-show=".over_view_main_photo" data-hide=".over_view_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('consultation_image', getCurrentLocale()) ?? __('abouts.consultation_image')); ?> </label>
            <input id="consultation_image_thumbnail" class="consultation_image_thumbnail" type="hidden" name="consultation_image" value="<?php echo e(old("consultation_image", $about->consultation_image ?? "")); ?>"/>

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

            <div class="clearfix"></div>
            <span class="input-group-btn consultation_pick_button <?php echo e(old('consultation_image', $about->consultation_image ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".consultation_image_thumbnail" data-preview=".consultation_image_holder" data-show=".consultation_main_photo" data-hide=".consultation_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('client_image', getCurrentLocale()) ?? __('abouts.client_image')); ?> </label>
            <input id="client_image_thumbnail" class="client_image_thumbnail" type="hidden" name="client_image" value="<?php echo e(old("client_image", $about->client_image ?? "")); ?>"/>

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

            <div class="clearfix"></div>
            <span class="input-group-btn quality_pick_button <?php echo e(old('client_image', $about->client_image ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".client_image_thumbnail" data-preview=".client_image_holder" data-show=".quality_main_photo" data-hide=".quality_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('video', getCurrentLocale()) ?? __('services.video')); ?> </label>
            <input id="video_image_thumbnail" class="video_image_thumbnail" type="hidden" name="video" value="<?php echo e(old("video", $about->video ?? "")); ?>"/>

            <div class="photos video_main_photo <?php echo e(old('video', $about->video ?? '') ? ' wow fadeInUp' : 'hide'); ?>">
                <div class="col-lg-12">
                    <div class="items">
                        <div class="img">
                            <a href="#" id="lfm" data-input=".video_image_thumbnail" data-preview=".video_image_holder" class="lfm" data-hide=".video_pick_button">
                                <img src="<?php echo e(asset('assets/web/images/icons/video.png')); ?> " />
                            </a>
                        </div>
                        <a href="#" class="showHide resetImage close" data-empty=".video_image_thumbnail" data-hide=".video_main_photo" data-show=".video_pick_button"><i class="fas fa-times"></i></a>
                    </div>
                </div>
            </div>

            <div class="clearfix"></div>
            <span class="input-group-btn video_pick_button <?php echo e(old('video', $about->video ?? '') ? 'hide' : ''); ?> ">
                <a id="lfm" data-input=".video_image_thumbnail" data-preview=".video_image_holder" data-show=".video_main_photo" data-hide=".video_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>
        var route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>";
        var url = "<?php echo e(url('/')); ?>/",
            currentLanguage = "<?php echo e(getCurrentLocale()); ?>",
            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>

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




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