<section class="content-header">
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-home"></i>Home</a></li>
        <li class="active"><a href="#">Dashboard</a></li>
        <li class="active">Edit Profile</li>
    </ol>
</section>

<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">
                                <div class="panel-headingnew"><?php echo $this->translate('Edit Profile'); ?> </div>
                                <div class="left_panel col-sm-12 padding_margin0 pull-left bgwhite">
                                    <?php echo $this->partial('profile-menu.phtml'); ?>
                                    <div class="tab-content tab_editprofile col-sm-10 padding-left0 marginbott10px margintop10px">
                                        <div id="common-tab" class="tab-pane fade in tab_editprofile tab_editprofile1 active">

                                            <div class="col-sm-col-sm-offset-1 margin-10auto0 paddingRL10px">
                                                <?php
                                                $form = $this->form;
                                                $form->prepare();
                                                $form->setAttribute('action', $this->url('profile', ['action' => 'credit-request']));
                                                $form->setAttribute('method', 'post');
                                                $form->setAttributes(['name' => 'credit_request_form', 'id' => 'credit-request-form']);
                                                echo $this->form()->openTag($form);
                                                ?>
                                                <div class="row">
                                                    <div class="col-sm-10">
                                                        <span style="color:<?php echo $msg_color; ?>"><?php echo $msg; ?></span><br/>
                                                        <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('deposit_date'))); ?>
                                                            </label>
                                                            <div class="col-sm-3 col-sm-4-new">
                                                                <?php echo $this->FormElement($form->get('deposit_date')); ?>
                                                                <?php echo $this->formElementErrors($form->get('deposit_date'), ['class' => 'error']); ?>
                                                            </div>
                                                            <label class="col-sm-3 control-label labelalign col-sm-3-new" id="point_airport">
                                                                <?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')); ?>
                                                                <?php echo $this->formElementErrors($form->get('payment_mode'), ['class' => 'error']); ?>
                                                            </div>
                                                        </div>
                                                        <div class="form-group clearfix margintopbottom20">
                                                            <div id="fileupload" class="display-none widthpersent80">
                                                                <div class="form-controluser">
                                                                    <label class="col-sm-3">
                                                                        <?php echo $this->translate('Cheque/DD Copy/Transaction Slip'); ?>
                                                                    </label>
                                                                    <div class="col-sm-6">
                                                                        <?php //echo $this->FormElement($form->get('pincode')); ?>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div id="trans" class="display-none widthpersent80 pull-left">
                                                                <div class="form-controluser">
                                                                    <label class="col-sm-3"><?php echo $this->translate('Transaction number'); ?> </label>
                                                                    <div class="col-sm-4">
                                                                        <?php //echo $this->FormElement($form->get('pincode')); ?>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                            <div id="chequeno" class="display-none widthpersent80 pull-left">
                                                                <div class="form-controluser">
                                                                    <label class="col-sm-3"><?php echo $this->translate('Cheque / DD No.'); ?>  </label>
                                                                    <div class="col-sm-4">
                                                                        <?php //echo $this->FormElement($form->get('pincode')); ?>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

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

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

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

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

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

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


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

                                                            <label class="col-sm-3 control-label labelalign col-sm-3-new"></label>
                                                            <div class="col-sm-3 col-sm-4-new " align="right">
                                                                <?php echo $this->FormElement($form->get('submit_type')); ?>
                                                                <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('credit_submit')); ?>

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

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /.col -->
</section>