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

<div class="branches form large-9 medium-8 columns content">
    <!-- <div><?= $this->Form->postLink(
                __('Delete'),
                ['action' => 'delete', $branch->id],['class' => 'green-btn'],
                ['confirm' => __('Are you sure you want to delete # {0}?', $branch->id)]
            )
        ?></div>-->
    
    <?= $this->Form->create($branch) ?>
    <fieldset class="fieldset2">
        <legend><?= __('Edit Company Branch') ?></legend>
        <div><?= $this->Html->link(__('List Branches'), ['controller'=>'Branches','action' => 'index'],['class' => 'green-btn']) ?> </div>
        <div class="addmenu-col">
        <div class="column-box">
        <?php
            echo $this->Form->input('company_id', ['class' => __('add-column'),'empty'=>'Choose Company Name','label' => 'User Company Name','options' => $companies]);
           /* echo $this->Form->input('branchcode',['label' =>'Branch Code']);*/
            echo $this->Form->input('branchname',['label' =>'Branch Name']);
           /* echo $this->Form->input('branchaddress',['label' =>'Branch Address']);*/
        ?>
        </div>
        </div>
    </fieldset>
	<div class="add-button">
    <?= $this->Form->button(__('Submit'),['class' => 'green-btn']) ?>
	</div>
<div class="btn-link"><input type="button" value="Back" onclick="window.history.back()" class="green-btn" /> </div>
    <?= $this->Form->end() ?>
</div>
