edit.ctp 543 Bytes

<div class="documents form large-9 medium-8 columns content">
    <?= $this->Form->create($document) ?>
    <fieldset>
        <legend><?= __('Edit Document') ?></legend>
        <?php
            echo $this->Form->input('type_doc');
            echo $this->Form->input('chemin');
            echo $this->Form->input('materiel_id', ['options' => $materiels]);
            echo $this->Form->input('suivi_id', ['options' => $suivis]);
        ?>
    </fieldset>
    <?= $this->Form->button(__('Submit')) ?>
    <?= $this->Form->end() ?>
</div>