<?php if(count($jobQuestion) > 0): ?>
    <?php $__empty_1 = true; $__currentLoopData = $jobQuestion; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $question): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
        <div class="form-group">
            <label class="control-label" for="answer[<?php echo e($question->id); ?>]">
                <?php echo e($question->question); ?>

            </label><br>
            <?php if($question->type == 'text'): ?>
            <input
                class="form-control"
                type="text"
                id="answer[<?php echo e($question->id); ?>]"
                name="answer[<?php echo e($question->id); ?>]"
                placeholder="<?php echo app('translator')->get('modules.front.yourAnswer'); ?>"
                value="<?php echo e((!is_null($question->answers->first())) ? $question->answers->first()->answer : null); ?>"
            >
            <?php else: ?>
            <?php if(is_null($question->answers->first())): ?>
            <input type="hidden" name="answer[<?php echo e($question->id); ?>]">
            <?php endif; ?>
            <input class="select-file " accept=".png,.jpg,.jpeg,.pdf,.doc,.docx,.xls,.xlsx,.rtf" type="file"  id="answer[<?php echo e($question->id); ?>]" name="answer[<?php echo e($question->id); ?>]" value="<?php echo e((!is_null($question->answers->first())) ? $question->answers->first()->file_url : null); ?>"><br>
            <span><?php echo app('translator')->get('modules.front.resumeFileType'); ?></span><br>
                        <?php if(!is_null($question->answers->first())): ?>
                         <a target="_blank"  href="<?php echo e($question->answers->first()->file_url); ?>" class="btn btn-sm btn-primary mt-2"><?php echo app('translator')->get('app.view'); ?> <?php echo app('translator')->get('app.file'); ?></a>
                        <?php endif; ?>
                        <?php endif; ?>
        </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
    <?php endif; ?>
<?php endif; ?><?php /**PATH /home/hoseadevimcon/hr.hosea.dev-imcon.com/resources/views/admin/job-applications/job-question.blade.php ENDPATH**/ ?>