add.ctp
448 Bytes
<div class="sites form">
<?= $this->Form->create($site) ?>
<fieldset>
<h2><i class="icon-plus"></i> Ajouter un Site</h2>
<?php
echo $this->Form->input('nom');
?>
</fieldset>
<?= $this->Form->button(__('Valider')) ?>
<?= $this->Form->end() ?>
</div>
<div class="actions">
<?php
echo $this->element('menu');
echo $this->element('menu_form', [ 'pluralHumanName' => 'Sites' ]);
?>
</div>