<section class="content">
    <div class="row">
        <div class="col-sm-12">
            <div class="tabbable">
                <div class="tab-content no-border padding-24">
                    <div class="tab-pane fade in active" id="faq-tab-1">
                        <div class="space-8"></div>
                        <div class="panel-group accordion-style1 accordion-style2" id="faq-list-1">
                            <div class="panel panel-default" id="fare_add">
                                <div class="panel-headingnew"> Add Local Package Fare </div>

                                <div id="faq-1-1" class="panel-collapse collapse in" aria-expanded="true">
                                    <div class="panel-body">

                                        <div class="tab-content" id="myTabContent">
                                            <div id="home" class="tab-pane fade active in">
                                                <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
                                                     <?php
                                                        $form = $this->form;
                                                        $form->prepare();
                                                        $form->setAttribute('action', $this->url('cabfare', ['action' => 'local-package-fare']));
                                                        $form->setAttribute('method', 'post');
                                                        echo $this->form()->openTag($form);
                                                    ?>
                                                    <div class="row">
                                                        <div class="col-sm-10">


                                                            <div class="form-group clearfix margintopbottom20">

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"><?php echo $this->translate($this->formLabel($form->get('booking_mode_type'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">

                                                                    <?php echo $this->FormElement($form->get('booking_mode_type')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('booking_mode_type'), ['class' => 'error']); ?>

                                                                </div>
                                                            </div>


                                                            <div class="form-group clearfix margintopbottom20">

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport"><?php echo $this->translate($this->formLabel($form->get('booking_type'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">

                                                                    <?php echo $this->FormElement($form->get('booking_type')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('booking_type'), ['class' => 'error']); ?>

                                                                </div>
                                                            </div>



                                                         <hr>
                            <div class="row">
                                <div class="col-sm-2">
                                    <label><?php echo $this->translate($form->get('distance_package_name[]')->getLabel()); ?></label>
                                </div>
                                <div class="col-sm-2">
                                    <label><?php echo $this->translate($form->get('distance_ignore_km[]')->getLabel()); ?></label>
                                </div>
                                <div class="col-sm-2">
                                    <label><?php //echo $this->translate($form->get('distance_amount[]')->getLabel()); ?></label>
                                </div>
                                <div class="col-sm-2 margin-left15"></div>
                                <div class="col-sm-3">&nbsp;</div>
                            </div>

                            <div id="local_package_row" class="local_package_row cloned-row">
                                <div class="row margin-bttom10px" >
                                    <div class="col-sm-2"><?php echo $this->formElement($form->get('distance_package_name[]')); ?></div>
                                    <div class="col-sm-2"><?php echo $this->formElement($form->get('distance_ignore_km[]')); ?></div>
<!--                                    <div class="col-sm-2"><?php //echo $this->formElement($form->get('distance_amount[]')); ?></div>-->

                                  <div class="col-sm-2 local-pkg-more-btn" id="add_2">
                                       <a href="#" class="btn btn-info form-control">Add More</a>
                                  </div>
                                </div>
                            </div>

                            <div id="appended_text_form"></div>


                            </div>

                            <div class="col-sm-11" align="right">
                                <?php echo $this->formElement($form->get('save')); ?>
                            </div>
                                                    </div>

                                                     <?php echo $this->form()->closeTag(); ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                             <?php echo $this->partial('view-local-pkg.phtml'); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

