edit.ctp 1.31 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->params['pass'][0]]);
        
        echo $this->Form->input ('typemesure', [
        		'label' => 'type de mesure',
        		'options' => ['direct','indirect'],
				'default' => 'direct'
        ]);
		echo $this->Form->input ('resolution', [
        		'label' => 'resolution',
        		'options' => ['numerique','cadran'],
				'default' => 'numerique'
        ]);
        echo $this->Form->input ('emtpersonnel', [
        		'label' => 'emt personnel'
        ]);
		echo $this->Form->input ('conditionenvironnement', [
        		'label' => 'condition environnement'
        ]);
		echo $this->Form->input ('etatmateriel', [
        		'label' => 'etat du materiel'	
        ]);
		echo $this->Form->input ('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>