Form->create($document) ?>

Lier un document

Form->input('materiel_id', ['label' => 'N° materiel labo', 'options' => $materiel, 'default' => $this->passedArgs[0], 'readonly' => true]); } else if(isset($suivi)) { echo $this->Form->input('suivi_id', ['label' => 'N° suivi', 'options' => $suivi, 'default' => $this->passedArgs[0], 'readonly' => true]); } echo $this->Form->input('type_doc'); echo $this->Form->input('description'); echo $this->Form->input('chemin'); ?>
Form->submit(__('Valider')) ?> Form->end() ?>
element('menu'); echo $this->element('menu_form', [ 'pluralHumanName' => 'Documents' ]); ?>