<div class="span12" class="form_add"> <div class="users form" style="width: 60%; margin:auto"> <?php echo $this->Form->create('User');?> <fieldset> <h1>Add new user</h1> <table class="table"> <tr> <td> Name </td> <td > <?php echo $this->Form->input('name',array('class'=>'span12','label'=> FALSE) ); ?> </td> </tr> <tr> <td> Username </td> <td> <?php echo $this->Form->input('username',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Email </td> <td> <?php echo $this->Form->input('email',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Password </td> <td> <?php echo $this->Form->input('password',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Password </td> <td> <?php echo $this->Form->input('password_confirmation',array('type'=>'password','class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Employer Id Number </td> <td> <?php echo $this->Form->input('useridnumber',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Gender </td> <td> <?php echo $this->Form->input('gender',array('class'=>'span12','label'=> FALSE,'options' => $genders )); ?> </td> </tr> <tr> <td> Birthday </td> <td> <?php echo $this->Form->input('birthday',array('label'=> FALSE,'class'=>'span12 hasDatepicker','id'=>'datepicker','type'=>'text')); ?> </td> </tr> <tr> <td> Language </td> <td> <?php echo $this->Form->input('language',array('class'=>'span12','label'=> FALSE,'options' => $language )); ?> </td> </tr> <tr> <td> Address </td> <td> <?php echo $this->Form->input('address',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Phone </td> <td> <?php echo $this->Form->input('phone',array('class'=>'span12','label'=> FALSE)); ?> </td> </tr> <tr> <td> Select Department </td> <td> <?php echo $this->Form->input('language',array('class'=>'span12','label'=> FALSE,'options' => $departments )); ?> </td> </tr> <tr> <td> Role </td> <td> <?php echo $this->Form->input('role',array('class'=>'span12','label'=> FALSE,'options' => $role )); ?> </td> </tr> </table> </fieldset> <?php echo $this->Form->end('Submit');?> </div> </div>