edit.ctp 1.52 KB

<div class="suivis form">
    <?= $this->Form->create($fichemetrologique) ?>
    <fieldset>
		<h2>
			<i class="icon-plus"></i> Edit une fiche métrologique
		</h2>
        <?php
        echo $this->Form->hidden('suivi_id', [
            'default' => $this->request->getAttribute('params')['pass'][0]
        ]);
        
        echo $this->Form->control('typemesure', [
            'label' => 'type de mesure',
            'options' => [
                'direct',
                'indirect'
            ],
            'default' => 'direct'
        ]);
        echo $this->Form->control('resolution', [
            'label' => 'resolution',
            'options' => [
                'numerique',
                'cadran'
            ],
            'default' => 'numerique'
        ]);
        echo $this->Form->control('emtpersonnel', [
            'label' => 'emt personnel'
        ]);
        echo $this->Form->control('conditionenvironnement', [
            'label' => 'condition environnement'
        ]);
        echo $this->Form->control('etatmateriel', [
            'label' => 'etat du materiel'
        ]);
        echo $this->Form->control('neuf', [
            'type' => 'checkbox',
            'default' => false
        ]);
        
        ?>
    </fieldset>
    <?= $this->Form->submit(__('Enregistrer')) ?>
    <?= $this->Form->end() ?>
</div>

<!--
<div class="actions">
	<php
echo $this->element('menu');
echo $this->element('menu_form', [
    'pluralHumanName' => 'Suivis'
]);
?>
</div>
-->

<script type="text/javascript">


</script>