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

    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-body">
                    <h4 class="card-title"><?php echo app('translator')->get('app.createNew'); ?></h4>

                    <form class="ajax-form" method="POST" id="createForm">
                        <?php echo csrf_field(); ?>

                        <div class="row">
                            <div class="col-md-9">
                                <div class="form-group">
                                    <label for="address" class="required"><?php echo app('translator')->get('menu.question'); ?></label>
                                    <input type="text" name="question" class="form-control" placeholder="<?php echo app('translator')->get('menu.question'); ?>">
                                </div>
                            </div>
                            <div class="col-md-9">
                                <div class="form-group">
                                    <label for="address"><?php echo app('translator')->get('app.required'); ?></label>
                                    <select name="required" class="form-control">
                                        <option value="yes"><?php echo app('translator')->get('app.yes'); ?></option>
                                        <option value="no"><?php echo app('translator')->get('app.no'); ?></option>
                                    </select>
                                </div>
                            </div>
                            <div class="col-md-9">
                                <div class="form-group">
                                    <label for="type"><?php echo app('translator')->get('app.type'); ?></label>
                                    <select name="type" class="form-control">
                                        <option value="text"><?php echo app('translator')->get('app.text'); ?></option>
                                        <option value="file"><?php echo app('translator')->get('app.file'); ?></option>
                                    </select>
                                </div>
                            </div>
                        </div>

                        <button type="button" id="save-form" class="btn btn-success"><i class="fa fa-check"></i> <?php echo app('translator')->get('app.save'); ?></button>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('footer-script'); ?>
<script>
    $('#save-form').click(function () {
        $.easyAjax({
            url: '<?php echo e(route('admin.job-onboard-questions.store')); ?>',
            container: '#createForm',
            type: "POST",
            redirect: true,
            data: $('#createForm').serialize()
        })
    });
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/hoseadevimcon/hr.hosea.dev-imcon.com/resources/views/admin/job-offer-question/create.blade.php ENDPATH**/ ?>