Form->create($user) ?>
Form->input('nom'); echo $this->Form->input('username'); echo $this->Form->input('password'); echo $this->Form->input('email'); echo $this->Form->input('role', [ 'options' => ['Super Administrateur' => 'Super Administrateur', 'Administration Plus' => 'Administration Plus', 'Administration' => 'Administration', 'Responsable' => 'Responsable', 'Utilisateur' => 'Utilisateur'] ]); echo $this->Form->input('groupes_metier_id', ['options' => $groupesMetiers, 'empty' => true]); ?>
Form->button(__('Ajouter')) ?> Form->end() ?>