<?php if($section_visibility['profile_image'] == 'yes'): ?>
    <div class="row b-b">
        <div class="col-md-8 offset-md-4">
            <div class="form-group">
                <h6>
                    <strong>
                        <?php echo app('translator')->get('modules.front.photo'); ?>
                    </strong>
                </h6>
                <input class="select-file" accept=".png,.jpg,.jpeg" type="file" name="photo"><br>
                <span class="required"><?php echo app('translator')->get('modules.front.photoFileType'); ?></span>
            </div>
            <?php if(!empty($application) && !is_null($application->photo)): ?>
                <p>
                    <a target="_blank" href="<?php echo e(asset('user-uploads/candidate-photos/'.$application->photo)); ?>" class="btn btn-sm btn-primary"><?php echo app('translator')->get('app.view'); ?></a>
                </p>
            <?php endif; ?>
        </div>
    </div>
<?php endif; ?>

<div class="row b-b">
    <?php if($section_visibility['resume'] == 'yes'): ?>
        <div class="col-md-4 pl-4 pr-4 pb-4 pt-4 b-b">
            <h5 class="required"><?php echo app('translator')->get('modules.front.resume'); ?></h5>
        </div>
        
        
        <div class="col-md-8 pb-4 pt-4 b-b">
            <div class="form-group">
                <input class="select-file" accept=".png,.jpg,.jpeg,.pdf,.doc,.docx,.xls,.xlsx,.rtf" type="file"
                    name="resume"><br>
                <span class="required"><?php echo app('translator')->get('modules.front.resumeFileType'); ?></span>
            </div>
            <?php if(!empty($application) && $application->resume_url): ?>
                <p>
                    <a target="_blank" href="<?php echo e($application->resume_url); ?>" class="btn btn-sm btn-primary">
                        <?php echo app('translator')->get('app.view'); ?>
                    </a>
                </p>
            <?php endif; ?>
        </div>
    <?php endif; ?>
    <?php if($section_visibility['cover_letter'] == 'yes'): ?>
        <div class="col-md-4 pl-4 pr-4 pt-4 b-b">
            <h5><?php echo app('translator')->get('modules.front.coverLetter'); ?></h5>
        </div>
        
        
        <div class="col-md-8 pt-4 b-b">
        
            <div class="form-group">
                <textarea class="form-control" name="cover_letter" rows="4"><?php echo e(!empty($application) ? $application->city : ''); ?></textarea>
            </div>
        </div>
    <?php endif; ?>
</div><?php /**PATH /home/hoseadevimcon/hr.hosea.dev-imcon.com/resources/views/admin/job-applications/required-sections.blade.php ENDPATH**/ ?>