</br>
<div class="index large-4 medium-4 large-offset-4 medium-offset-4 columns">
    <div class="panel">
        <h2 class="text-center"> Please Register </h2>
            <?= $this->Form->create($user) ?>
            <?php
            echo $this->Form->input('username');
            echo $this->Form->input('password',array('type'=>'password'));
            echo $this->Form->input('firstname');
            echo $this->Form->input('lastname');            
            echo $this->Form->input('email');            
            echo $this->Form->input('gender');
            echo $this->Form->input('address');
            echo $this->Form->input('City');
            echo $this->Form->input('State');
            echo $this->Form->input('Country');
            echo $this->Form->input('Zipcode');
            echo $this->Form->input('dob');
            echo $this->Form->input('panno');
            echo $this->Form->input('photo', [
                                                'label' => 'Image',
                                                'type' => 'file'
                                                ]);
            //echo $this->Form->input('group_id', ['options' => $groups]);
            
            ?>    
            <?= $this->Form->submit('Register',array('class'=>'button')) ?>
            <?= $this->Form->end() ?>
    </div>    
</div>
