<?php $__env->startSection('content'); ?>

    <main>

        <!-- ---------- breadcrumb ----------- -->
        <div class="breadcrumb_links">
            <div class="container">
                <div class="links">
                    <a href="<?php echo e(route('home')); ?>"> <i class="fas fa-home"></i> </a>
                    <a href="<?php echo e(route('courses.index')); ?>"> <?php echo e(__('web.courses')); ?> </a>
                    <a href="<?php echo e(route('courses.show',$course->id)); ?>"> <?php echo e($course->name); ?> </a>
                    <a href="<?php echo e(route('apply_course',$course->id)); ?>"> <?php echo e(__('web.apply_course')); ?> </a>
                    <a href="#"> <?php echo e($title); ?> </a>
                </div>
            </div>
        </div>

            <!-- ---------- pg_course_details ----------- -->
            <section class="pg_course_details">
                <div class="bg_title">
                    <div class="container">
                        <div class="row">
                            <div class="col-lg-8">
                                <div class="title_cont pb-5 mb-3">
                                    <h1> Please fill out the form to apply </h1>
                                </div>
                            </div>
                        </div>
                    </div>
                    <img src="<?php echo e(url('')); ?>/assets/web/images/course_det.jpg" alt="" class="bg">
                </div>
                <div class="container">
                    <div class="application_form section_padding">
                        <form action="<?php echo e($action); ?>" method="POST" onsubmit="formAction(this)" enctype="multipart/form-data" class="form">
                            <?php echo csrf_field(); ?>
                            <div class="form_box">
                                <div class="proccess_line">
                                    <span></span>
                                    <span class="active"></span>
                                </div>
                                <h4 class="box_title pb-3 mb-4 border-bottom text-capitalize"> jop information </h4>
                                <div class="row">
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Please Choose a Course </h6>
                                            <select name="course_id" id="" class="form-control form-select">
                                                <?php $__currentLoopData = $courses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <option <?php echo e($row->id == $course->id ? 'selected' : ''); ?> value="<?php echo e($row->id); ?>"> <?php echo e($row->name); ?> </option>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> What is the last stage of study you completed?  </h6>
                                            <input type="text" name="study_level" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> What are the words that describe your work experience so far? </h6>
                                            <input type="text" name="words_work_experience" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> How can you describe your goal for this year? </h6>
                                            <input type="text" name="goal_year" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Please describe your work experience and career goals </h6>
                                            <input type="text" name="work_experience" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> What is the subject of the last training session you attended, and when it was and where? </h6>
                                            <input type="text" name="subject_training_session" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Please mention all the training sessions that you attended in the last year </h6>
                                            <input type="text" name="training_session" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Mention 3 pros and 3 cons in your personality </h6>
                                            <input type="text" name="pros_cons" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> What is the social problem you wish to solve it as soon as possible, and why you selected this problem? </h6>
                                            <input type="text" name="social_problem" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Have you ever volunteered previously? </h6>
                                            <input type="text" name="volunteered" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> Did you attend any programs at Nesma training Center </h6>
                                            <input type="text" name="attend_programs_training" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> What are the courses that you want to get it in Nesma Training Center? </h6>
                                            <input type="text" name="courses_nesma" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-6">
                                        <div class="form-group mb-3">
                                            <h6 class="mb-2"> How do you know Nesma Training Center? </h6>
                                            <input type="text" name="know_nesma_training" class="form-control" placeholder=" write here... ">
                                        </div>
                                    </div>
                                    <div class="col-lg-12">
                                        <div class="form-group">
                                            <h6 class="mb-2"> Please Upload Your CV </h6>
                                            <div class="up_group">
                                                <input type="file" name="cv" class="file">
                                                <div class="input-group">
                                                    <!-- <span class="input-group-append">أدراج ملف </span> -->
                                                    <input type="text" class="input_ques" disabled placeholder="Please Upload Your CV " aria-label="Upload File" aria-describedby="basic-addon1">
                                                    <!-- <img src="<?php echo e(url('')); ?>/assets/web/images/com_imgs/upload.png" alt="" class="upload-icon"> -->
                                                    <span class="upload-icon"> <i class="fal fa-file-upload"></i> </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group mt-5 text-center">
                                    <button type="submit" class="butn px-5 py-3"> <span> Send <i class="fad fa-sign-in ms-2"></i> </span> </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </section>


        </main>

<?php $__env->startSection('inject_js'); ?>

    <script>
        $(document).on("change", ".file", function() {
            $(this)
                .parent()
                .find(".input_ques")
                .val(
                    $(this)
                        .val()
                        .replace(/C:\\fakepath\\/i, "")
                );
        });
    </script>

    <script>
        $(function() {
            $("#datepicker").datepicker({
                changeMonth: true,
                changeYear: true,
                // showButtonPanel: true,
                dateFormat: 'dd MM yy'
            });
        });
    </script>

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


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

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/ntc/resources/views/web/pages/courses/complete_course.blade.php ENDPATH**/ ?>