<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="edit-air-rail">
                                <div class="panel-headingnew"> Edit Airport/Railway Station </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('airport-master', ['action' => 'edit-airport']));
                                    $form->setAttribute('method', 'post');
                                    $form->setAttribute('id', 'airport_edit_form');
                                    echo $this->form()->openTag($form);
                                   
                                    echo $this->FormElement($form->get('id'));
                                ?>
                                                        <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="Categorie Name"><?php echo $this->translate($this->formLabel($form->get('city_name'))); ?></label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="row-fluid">
                                                                        
                                                                            
                                                                            <?php echo $this->FormElement($form->get('city_name')); ?>
                                                                            
                                                                            
                                                                             <?php echo $this->FormElement($form->get('city_id')); ?>
                                                                             <?php echo $this->FormElement($form->get('state_id')); ?>
                                                                             <?php echo $this->FormElement($form->get('country_id')); ?>
                                                                             <?php echo $this->formElementErrors($form->get('city_name'), ['class' => 'error']); ?>
                                            <span class="showerror">
                                                                        </div>
                                                                    </div>                                     

                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('airport_railway_name'))); ?> </label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                       <?php echo $this->FormElement($form->get('airport_railway_name')); ?>
                                                                         <?php echo $this->formElementErrors($form->get('airport_railway_name'), ['class' => 'error']); ?>
                                                                    </div>
                                                                </div>



                                                                <div class="form-group clearfix margintopbottom20">
                                                                      <label class="col-sm-3 control-label labelalign col-sm-3-new">Status  </label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                        <div class="col-sm-6 no-padding">
                                                                            <div class="carbooking">
                                            <input type="radio" name="status" id="active" value="1" <?php if($getStatus['status']==1){ echo "checked"; }?>>
                                                                                <label for="active"><span class="radio">Active</span></label>
                                                                            </div>

                                                                        </div>

                                                                        <div class="col-sm-6 no-padding">

                                                                            <div class="carbooking">
                              <input type="radio" name="status" id="deactive" value="0" <?php if($getStatus['status']==0){ echo "checked"; }?>>
                                                                                <label for="deactive"><span class="radio">De-Active</span></label>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    
                                                                    <label class="col-sm-3 control-label labelalign col-sm-3-new"></label>
                                                                    <div class="col-sm-3 col-sm-4-new">
                                                                       <a href="<?php echo $this->url('airport-master', array('action'=>'index'));?>" id="back" class="btn btn-github "><i class="fa fa-backward iconsearch" ></i>Back</a>
                                    
                                     <?php echo $this->FormElement($form->get('add_info')); ?>
                                    
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

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

                           
                            <?php  echo $this->partial('airport-listing.phtml'); ?>
                        </div>
                    </div>
                </div>
            </div>

            <!-- /.widget-box --> 
        </div>
        <!-- /.col --> 
    </div>

    <!-- /.row --> 
    <!-- Main row --> 
</section>

