add.ctp
494 Bytes
<div class="unites form">
<?= $this->Form->create($unite) ?>
<fieldset>
<h2><i class="icon-plus"></i> Ajouter une unitée</h2>
<?php
echo $this->Form->input('nom');
echo $this->Form->input('symbole');
?>
</fieldset>
<?= $this->Form->submit(__('Valider')) ?>
<?= $this->Form->end() ?>
</div>
<div class="actions">
<?php
echo $this->element('menu');
echo $this->element('menu_form', [ 'pluralHumanName' => 'Unites' ]);
?>
</div>