<nav class="large-3 medium-4 columns" id="actions-sidebar">
      <?= $this->element('admin_sidebar') ?>
</nav>

<div class="bankdetails form large-9 medium-8 columns content">
    <div><?= $this->Form->postLink(
                __('Delete'),
                ['action' => 'delete', $bankdetail->id],
                ['confirm' => __('Are you sure you want to delete # {0}?', $bankdetail->id)]
            )
        ?></div>
    <?= $this->Form->create($bankdetail) ?>
    <fieldset class="fieldset2">
        <legend><?= __('Edit Bankdetail') ?></legend>
		<div class="addmenu-col">
		<div class="column-box">
        <?php
           
        $accounttype = array(
            '1' => 'For Residents',
            '2' => 'Saving',
            '3' => 'Current',
            '4' => 'For Non Residents',
            '5' => 'NRO',
            '6' => 'NRE',
            '7' => 'FCNR',
            '8' => 'Other'        
        );
            echo $this->Form->input('bank_id', ['class' => __('add-column'),'label' =>'Bank Name','options' => $banks]);
            echo $this->Form->input('accountno',['class' => __('add-column'),'label' =>'Account No']);
            echo $this->Form->input('branchaddress', ['class' => __('add-column'),'label' =>'Branch Address']);
            echo $this->Form->input('accounttype',['class' => __('add-column'),'label' =>'Account Type','options' => $accounttype]);
           // echo $this->Form->input('accounttype');
            echo $this->Form->input('micrcode',['class' => __('add-column'),'label' =>'MICR Code']);
            echo $this->Form->input('micrcode',['class' => __('add-column'),'label' =>'NEFT Code']);
        ?>
		</div>
		</div>
    </fieldset>
    <?= $this->Form->button(__('Submit')) ?>
<div class="btn-link"><input type="button" value="Back" onclick="window.history.back()" class="green-btn" /> </div>
    <?= $this->Form->end() ?>
</div>
