<nav class="large-3 medium-4 columns" id="actions-sidebar">
      <?= $this->element('admin_sidebar') ?>
</nav>
<div class="companies form large-9 medium-8 columns content">
     
    <?= $this->Form->create($company) ?>
    <fieldset class="fieldset2">
        <legend><?= __('Add Company') ?></legend>
        <div><?= $this->Html->link(__('List Companies'), ['controller'=>'Companies','action' => 'index'],['class' => 'green-btn']) ?> </div>
		<div class="addmenu-col">
		<div class="column-box compwrap">
        <?php
            echo $this->Form->input('company', ['class' => __('add-column')]);
            $associatewith = array('product'=>'Product','user'=>'User');
            echo $this->Form->input('associatewith', ['label'=>'Company associate with','type'=>'radio','required'=>'true','options'=>$associatewith,'class' => __('add-column')]);
           //echo $this->Form->input('productid',['class' => __('add-column associatewithwrap'),'empty'=>'select','label' => 'Type','options' => $productlists]);
            echo $this->Form->input('productid',['class' => __('add-column associatewithwrap'),'empty'=>'','label' => 'Type','options' => $productlists,'multiple' => 'multiple','type' => 'select']);
        ?>
		</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 new_back" /> </div>
    <?= $this->Form->end() ?>
</div>