<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 Credit Limit</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('credit-limit', ['action' => 'edit']));
                                                    $form->setAttribute('method', 'post');
                                                    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('user_name'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">
                                                                    <div class="row-fluid">
                                                                        <?php echo $this->FormElement($form->get('user_name')); ?>
                                                                        <?php echo $this->formElementErrors($form->get('user_name'), ['class' => 'error']); ?>
                                                                    </div>
                                                                </div>

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

                                                            <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('from_date'))); ?></label>
                                                                <div class="col-sm-3 col-sm-4-new">
                                                                    <div class="row-fluid">
                                                                        <?php echo $this->FormElement($form->get('from_date')); ?>
                                                                        <?php echo $this->formElementErrors($form->get('from_date'), ['class' => 'error']); ?>
                                                                    </div>
                                                                </div>

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('to_date'))); ?> </label>
                                                                <div class="col-sm-3 col-sm-4-new">
                                                                    <?php echo $this->FormElement($form->get('to_date')); ?>
                                                                    <?php echo $this->formElementErrors($form->get('to_date'), ['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($status==1){?> checked="checked"  <?php } ?>>
                                                                            <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($status==0){?> checked="checked"  <?php } ?>>
                                                                            <label for="deactive"><span class="radio">De-Active</span></label>
                                                                        </div>
                                                                    </div>
                                                                </div>


                                                            </div>



                                                            <div class="form-group clearfix margintopbottom20">
                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="">  </label>
                                                                <div class="col-sm-4 col-sm-4-new">

                                                                </div>

                                                                <label class="col-sm-3 control-label labelalign col-sm-3-new" id="update_profiel"></label>
                                                                <div class="col-sm-3 col-sm-4-new " align="right">

                                                                    <a class="reset_btn btn btn-success btn-new-vehile" href="#">
                                                                        <i class="fa fa-retweet"></i>
                                                                        Reset
                                                                    </a>
                                                                    <?php echo $this->FormElement($form->get('save')); ?>

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

                                                                </div>
                                                            </div>


                                                        </div>
                                                    </div>
                                                </div>
                                            </div>

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

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
