<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">&times;</button>
    <h3 class="modal-title">Apply For (<?php echo $jobsData['position_name']; ?>)-<?php echo $this->mainMenu()->fetchDeptName($jobsData['dep_id']);?></h3>
    <!--Click to select if we Exceeded, Met or Did Not meet your Expectations-->
</div>
<div id="displayMsg"></div>
<div class="modal-body">

<?php
$form = $this->form;
$form->prepare();
$form->setAttribute('action', $this->url('submit-job-enquiry', ['action' => 'submit-job-enquiry']));
$form->setAttribute('method', 'post');
echo $this->form()->openTag($form);
echo $this->formHidden($form->get('post_name'));
?>

    <div class="row">
        <div class="form-group-lg form-group-select-plus pull-left width100per">
            <div class="col-sm-6">
                <div class="form-group">
                    <div class="spanclass">Name<span style="color: red">*</span></div>
                    <?php echo $this->formElement($form->get('customer_name')); ?>
                      <?php echo $this->formElementErrors($form->get('customer_name'), ['class' => 'error']); ?>
                    <span class="highlight"></span>
                    <span class="bar"></span>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <div class="spanclass">Email<span style="color: red">*</span></div>
                    <?php echo $this->formElement($form->get('customer_email')); ?>
                     <?php echo $this->formElementErrors($form->get('customer_email'), ['class' => 'error']); ?>
                    <span class="highlight"></span>
                    <span class="bar"></span>
                </div>
            </div>
        </div>

        <div class="form-group-lg form-group-select-plus pull-left width100per">
            <div class="col-sm-6">
                <div class="form-group">
                    <div class="spanclass">Contact No.<span style="color: red">*</span></div>
                    <?php echo $this->formElement($form->get('customer_mobile')); ?>
                     <?php echo $this->formElementErrors($form->get('customer_mobile'), ['class' => 'error']); ?>
                    <span class="highlight"></span>
                    <span class="bar"></span>
                </div>
            </div>

            <div class="col-sm-6">
                <div class="form-group">
                    <div class="spanclass">Experience<span style="color: red">*</span></div>
                    <?php echo $this->formElement($form->get('experience')); ?>
                     <?php echo $this->formElementErrors($form->get('experience'), ['class' => 'error']); ?>
                    <span class="highlight"></span>
                    <span class="bar"></span>
                </div>
            </div>
        </div>


        <div class="form-group-lg form-group-select-plus pull-left width100per">
            <div class="col-sm-12">
                <div class="form-group">
                    <div class="spanclass">Description<span style="color: red">*</span></div>
                    <?php echo $this->formElement($form->get('description')); ?>
                      <?php echo $this->formElementErrors($form->get('description'), ['class' => 'error']); ?>
                    <span class="highlight"></span>
                    <span class="bar"></span>
                </div>
            </div>


        </div>





        <div class="form-group-lg form-group-select-plus pull-left width100per" style="margin-top: 20px;">

            <div class="col-md-8 no-padding">

                <div class="col-md-8">

                    <div class="form-group">
                        <div class="g-recaptcha" data-sitekey="<?php echo $captchaKey; ?>"></div>
                        <div class="captcha-error" style="color:#a94442;"><?php echo $this->error; ?></div>
                    </div>

                </div>

            </div>

            <div class="col-sm-4 text-right">
                <div class="spanclass"></div>
                <div class="group">
                    <?php echo $this->formElement($form->get('enquiry_submit')); ?>
                </div>
            </div>



        </div>

    </div>

<?php echo $this->form()->closeTag(); ?>

</div>
</div>
<div class="modal-footer" style=" padding-top:2px !important;">
    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>