<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="search_div">
                                <div class="panel-headingnew"> <?php echo $this->translate('Cancelation Deadline'); ?> </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">
                                                    <div class="row">
                                                        <div class="col-sm-10 no-padding">
                                                            <?php
                                                            $form = $this->form;
                                                            $form->prepare();
                                                            $form->setAttribute('action', $this->url('cancellationdeadline', ['action' => 'index']));
                                                            echo $this->form()->openTag($form);
                                                            ?>
                                                            <div id="search_markup">
                                                                <div id="markup_serach_user">
                                                                    <div class="form-group clearfix margintopbottom20">
                                                                        <label class="col-sm-2">Booking Type</label>
                                                                        <div class="col-sm-10">
                                                                            <?php echo $this->FormElement($form->get('booking_type')); ?>
                                                                        </div>
                                                                    </div>

                                                                    <div class="form-group clearfix margintopbottom20">
                                                                        <label class="col-sm-2">From Date</label>
                                                                        <div class="col-sm-4">
                                                                            <?php echo $this->FormElement($form->get('start_date')); ?>
                                                                        </div>
                                                                        <label class="col-sm-2 ">To</label>
                                                                        <div class="col-sm-4 ">
                                                                            <?php echo $this->FormElement($form->get('end_date')); ?>
                                                                        </div>
                                                                    </div>


                                                                    <!--<div class="form-group clearfix margintopbottom20">
                                                                        <div class="col-sm-4 pull-right">
                          <a href="#" class="btn btn-red defaultbtnsearch btn-warning cancellation-deadline"><i class="fa fa-search iconsearch" id="search-me" ></i>Search</a>
                                                                            <a href="javascript:document.getElementById('bookingFilter').reset();" class="btn btn-red btn-warning reset_btn"><i class="fa fa-times iconsearch"></i>Clear</a>
                                                                        </div>
                                                                    </div>-->

                                                                    <div class="row">
            <div class="form-group clearfix margintopbottom20">
                <div class="col-sm-4 pull-right">
                    <?php echo $this->FormElement($form->get('search')); ?>
                    <?php echo $this->FormReset($form->get('clear')); ?>
                </div>
            </div>
        </div>

                                                                    <div class="form-controluser">

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

                            <div class="panel panel-default">
                                <div class="panel-headingnew"> <?php echo $this->translate('List Records'); ?> </div>
                                <div id="faq-1-3" class="panel-collapse collapse in" aria-expanded="false">
                                    <div class="box">
                                        <div class="box-body table-responsive" id="cancel-search-list">
                                            <?php echo $this->partial('cancellation-listing.phtml'); ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
