<!-- This is for Car list  -->
<section id="main_form" class="padding12top">
    <div class="banner-bottom pcenter" >
        <!-- container -->
        <div class="container">
            <div class="row">
                <div class="banner-bottom-grids">
                    <div class="col-md-3 banner-bottom-grid widthpercent20 pull-left">

                    </div>

                    <div class="col-md-6 banner-bottom-grid widthpercent60 padding_margin0">
                        <div id="accordion" class="panel-group">
                            <div class="panel panel-default">
                                <div>
                                    <h4 class="panel-title">
                                        <div class="row margin10px" >
                                            <div class="mapcantiner_inner1 no-padding">
                                                <div class="col-sm-12 pull-left">
                                                    <div class="destinations-grid-info bgnone padding-left0 ">
                                                        <div class="mapcantiner_inner1 no-padding">
                                                            <div class="margin-bot10px padding-bot10px">
                                                                <div class="col-md-31 overviueimg5 padding-left0" align="left">
                                                                    <h4>LOGIN DETAILS</h4>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                    <span style="color: red;"><?php if(!empty($errorMsg)) { echo $errorMsg;}?></span>
                                                    <?php
                                                    $form = $this->form;
                                                    $form->prepare();
                                                    $form->setAttribute('action', $this->url('point-to-point', ['action' => 'login']));
                                                    $form->setAttribute('method', 'post');
                                                    $form->setAttribute('id', 'login-form');
                                                    echo $this->form()->openTag($form);
                                                    ?>
                                                    <div class="form-group traveler_space">
                                                        <div class="col-sm-6 traveler_space">
                                                            <div class="group">
                                                                <?php echo $this->formElement($form->get('username')); ?>
                                                                <?php echo $this->formElementErrors($form->get('username'), ['class' => 'error']); ?>
                                                                <span class="highlight"></span>
                                                                <span class="bar"></span>
                                                                <?php echo $this->translate($this->formLabel($form->get('username'))); ?>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="form-group traveler_space">
                                                        <div class="col-sm-6 traveler_space">
                                                            <div class="group">
                                                                <?php echo $this->formElement($form->get('password')); ?>
                                                                <?php echo $this->formElementErrors($form->get('password'), ['class' => 'error']); ?>
                                                                <span class="highlight"></span>
                                                                <span class="bar"></span>
                                                                <?php echo $this->translate($this->formLabel($form->get('password'))); ?>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="form-group">
                                                        <div class="col-sm-6">
                                                            <div class="col-sm-12 no-padding padding_margin0 traveler_space">
                                                                <div class="left-div-form margin-bot10px no-padding">
                                                                    <label class="booking-check"><?php echo $this->translate('Accept the Terms and Conditions'); ?>
                                                                        <?php echo $this->FormElement($form->get('agree_terms')); ?>
                                                                        <?php echo $this->formElementErrors($form->get('agree_terms'), ['class' => 'error']); ?>
                                                                        <span class="checkmark"></span>
                                                                    </label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="form-group">
                                                        <div class="col-sm-12">
                                                            <div class="col-sm-12 no-padding padding_margin0">
                                                                <div class="col-md-6 no-padding sightmargin pull-left" align="left">
                                                                    <?php echo $this->FormElement($form->get('login_submit')); ?>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <?php echo $this->form()->closeTag(); ?>
                                                </div>
                                            </div>
                                        </div>
                                    </h4>
                                </div>
                            </div>
                        </div>
                        <!--Customise div-->
                    </div>



                    <?php echo $this->partial('point-to-point/index/payment-detail-traveller'); ?>
                    <div class="clearfix"> </div>
                </div>
            </div>
        </div>
    </div>
</section>
