
<?php $__env->startSection('content'); ?>
    <?php Fun::lang()?>
    <div class="top-header">
        <ol class="breadcrumb">
            <li><a href="#"><?php echo e(__('administrator.Dashboard')); ?></a></li>
            <li><a href="<?php echo e(route('hr-candidate.index')); ?>"><?php echo e(__('administrator.candidate')); ?></a></li>
        </ol>
    </div>
    <div class="page">
        <div class="top-content">
            <div class="row">
                <div class="col-sm-12 col-xs-12">
                    <div class="title-add">
                        <div class="pull-left">
                            <h3><?php echo e(__('administrator.candidate')); ?></h3>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <?php echo Form::model($can, ['method' => 'PATCH','enctype'=>'multipart/form-data','route' => ['hr-candidate.update', $can->id]]); ?>

        <div class="row">
            <div class="col-sm-12">
                <div class="master-form ">
                    <div class="title-note">
                        <h3><span class="fa fa-exclamation-triangle"></span> <?php echo e(__('administrator.candidate')); ?>

                            <i>(<?php echo e(__('administrator.fields_in_red_are_required')); ?>)</i></h3>
                    </div>
                    <div class="col-sm-offset-3 col-sm-6">
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.applied_position')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::select('job_post_id', $job,null, array('placeholder' => __('administrator.please_select'),'class' => 'form-control select2','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.firstname')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('firstname',null, array('placeholder'=>__('administrator.firstname'),'class' => 'form-control','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.lastname')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('lastname',null, array('placeholder'=>__('administrator.lastname'),'class' => 'form-control','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label for="name"><?php echo e(__('administrator.photo')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <div class="col-sm-12">
                                    <input type="file" name="photo"
                                           onchange="document.getElementById('blah').src = window.URL.createObjectURL(this.files[0])">
                                </div>
                                <div class="col-sm-12">&nbsp;</div>
                                <div class="col-sm-12">
                                    <div class="add_img text-left">
                                        <img src="<?php echo e(asset('images/upload/'.$can->photo)); ?>" style="" id="blah"
                                             width="30%">
                                    </div>
                                </div>
                                <input type="hidden" name="hidden_image_name"
                                       value="<?php echo e($can->photo); ?>">
                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.sex')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::select('gender',['Female'=>__('administrator.female'),'Male'=>__('administrator.male')],null, array('placeholder'=>__('administrator.please_select'),'class' => 'form-control select2','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.date_of_birth')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('date_of_birth',null, array('placeholder'=>__('administrator.date_of_birth'),'class' => 'form-control date_picker','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.contact')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('phone',null, array('placeholder'=>__('administrator.contact'),'class' => 'form-control','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label for="name"><?php echo e(__('administrator.email')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('email',null, array('placeholder'=>__('administrator.email'),'class' => 'form-control')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.address')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::textarea('address',null, array('placeholder'=>__('administrator.address'),'class' => 'form-control no-resize','rows'=>3,'required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.prefered_industry')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('prefered_industry',null, array('placeholder'=>__('administrator.prefered_industry'),'class' => 'form-control','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label for="name"><?php echo e(__('administrator.total_year_exp')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('total_year_exp',null, array('placeholder'=>__('administrator.total_year_exp'),'class' => 'form-control')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.expected_salary')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::text('expected_salary',null, array('placeholder'=>__('administrator.expected_salary'),'class' => 'form-control','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.currency')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::select('currency',['riel'=>__('administrator.riel'),'usd'=>__('administrator.usd')],null, array('placeholder'=>__('administrator.please_select'),'class' => 'form-control select2','required')); ?>

                            </div>
                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="required" for="name"><?php echo e(__('administrator.cv')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <div class="col-sm-6">
                                    <input type="file" name="cv">
                                </div>
                                <div class="col-sm-6">
                                    <?php echo Form::text('old_file',$can->cv, array('class' => 'form-control input-sm','readonly')); ?>

                                </div>
                            </div>

                        </div>
                        <div class="form-group col-sm-12 col-xs-12">
                            <div class="col-sm-3 col-xs-12 ">
                                <label class="" for="name"><?php echo e(__('administrator.note')); ?></label>
                            </div>
                            <div class="col-sm-8">
                                <?php echo Form::textarea('note',null, array('placeholder'=>__('administrator.note'),'class' => 'form-control no-resize','rows'=>3)); ?>

                            </div>
                        </div>
                        <div class="col-sm-11 col-xs-12">
                            <div class="form-group footer-save">
                                <button type="submit" class=" button_primary pull-right"><span
                                            class="fa fa-save"></span> <?php echo e(__('administrator.save')); ?></button>
                                <button type="button" onClick="history.go(-1)"
                                        class=" button_warning pull-right">
                                    <span class=" fa fa-arrow-circle-left"></span> <?php echo e(__('administrator.back')); ?></button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <?php echo Form::close(); ?>

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


    


<?php echo $__env->make('layouts.app-hr', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/nsowos/public_html/shr-brand/resources/views/hr/candidate/edit.blade.php ENDPATH**/ ?>