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

    <div class="border-item">
        <form class="form-row">
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('name', $lang) ?? __('jobApplications.name')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('name') ? 'is-invalid' : ''); ?>" name="name" placeholder="<?php echo e(meta('name', $lang) ?? __('jobApplications.name')); ?>" value='<?php echo e(old("name", $jobApplication->name ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('email', $lang) ?? __('jobApplications.email')); ?></label>
                <input type="email" class="form-control <?php echo e($errors->has('email') ? 'is-invalid' : ''); ?>" name="email" placeholder="<?php echo e(meta('email', $lang) ?? __('jobApplications.email')); ?>" value='<?php echo e(old("email", $jobApplication->email ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('phone', $lang) ?? __('jobApplications.phone')); ?></label>
                <input type="tel" class="form-control <?php echo e($errors->has('phone') ? 'is-invalid' : ''); ?>" name="phone" placeholder="<?php echo e(meta('phone', $lang) ?? __('jobApplications.phone')); ?>" value='<?php echo e(old("phone", $jobApplication->phone ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('birth_date', $lang) ?? __('jobApplications.birth_date')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('birth_date') ? 'is-invalid' : ''); ?>" name="birth_date" placeholder="<?php echo e(meta('birth_date', $lang) ?? __('jobApplications.birth_date')); ?>" value='<?php echo e(old("birth_date", $jobApplication->birth_date ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('job_name', $lang) ?? __('jobApplications.job_name')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('job_name') ? 'is-invalid' : ''); ?>" name="job_name" placeholder="<?php echo e(meta('job_name', $lang) ?? __('jobApplications.job_name')); ?>" value='<?php echo e(old("job_name", $jobApplication->job_name ?? "")); ?>'/>
            </div>
            <div class="form-group col-lg-12">
                <label><?php echo e(meta('country_name', $lang) ?? __('jobApplications.country_name')); ?></label>
                <input type="text" class="form-control <?php echo e($errors->has('country_name') ? 'is-invalid' : ''); ?>" name="country_name" placeholder="<?php echo e(meta('country_name', $lang) ?? __('jobApplications.country_name')); ?>" value='<?php echo e(old("country_name", $jobApplication->country_name ?? "")); ?>'/>
            </div>

            
            <div class="border-item photos col-md-12 other_image_container">
                <label><?php echo e(meta('cv', $lang) ?? __('jobApplications.cv')); ?> </label>
                <div class="row">
                    <div class="col-md-4 mb-5">
                        <div class="items">
                            <div class="img">
                                <a href="<?php echo e(asset($jobApplication->cv)); ?>"><img style="object-fit: contain; padding: 50px;" src="<?php echo e(asset(strpos($jobApplication->cv, '.pdf') ? 'assets/admin/images/file-icon.png' : $jobApplication->cv)); ?>" alt=""></a>
                            </div>
                        </div>
                        <div class="col-md-12">
                            <a class="btn btn-success" download href="<?php echo e(asset($jobApplication->cv)); ?>"><i class="fa fa-download"></i> <?php echo e(__('dashboard.download')); ?></a>
                        </div>
                    </div>
                </div>
            </div>
            

            <div class="text-center mt-5 col-12">
                <a href="<?php echo e(route('jobApplications.index')); ?>" class="butn"><span><?php echo e(__('jobApplications.head')); ?></span></a>
            </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($lang); ?>",
            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/fulath/resources/views/admin/job_applications/form.blade.php ENDPATH**/ ?>