<?php
$form = $this->form;
$form->prepare();
//$form->setAttribute('action', $this->url('credit', ['action' => 'approved-request']));
$form->setAttribute('id', 'credit-search-form');
echo $this->form()->openTag($form);
?>
<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">
                    <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('payment_ref_no'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('payment_ref_no')); ?>
                        </div>
                        <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport">First Name</label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('user_name')); ?>
                        </div>
                    </div>

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

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

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

                    </div>


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

                        <label class="col-sm-3 control-label labelalign col-sm-3-new"><?php echo $this->translate($this->formLabel($form->get('status'))); ?></label>
                        <div class="col-sm-3 col-sm-4-new">
                            <?php echo $this->FormElement($form->get('status')); ?>
                        </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="#" class="btn btn-red defaultbtnsearch btn-warning credit-request">Search</a>
                            <a href="javascript:document.getElementById('credit-search-form').reset();" class="btn btn-red btn-warning">Clear</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $this->form()->closeTag(); ?>