<?php
echo $this->Form->input('username');
echo $this->Form->input('email');
- echo $this->Form->input('role');
+ echo $this->Form->input('role',['value' => 'User','type'=>'hidden']);
echo $this->Form->input('$userTypes', ['name'=>'user_type_id','value' => '2','type'=>'hidden']);
echo $this->Form->input('password');
?>
-
+
</fieldset>
<?= $this->Form->button(__('Submit')) ?>