add.ctp
695 Bytes
<div class="categories form col-lg-5 col-md-7 col-sm-9">
<?= $this->Form->create($category) ?>
<fieldset>
<h2>
<i class="icon-plus"></i> Ajouter une Catégorie
</h2>
<?php
echo $this->Form->control('nom');
echo $this->Form->control('sur_categorie_id', [
'label' => 'Domaine',
'options' => $surCategories
]);
?>
</fieldset>
<?= $this->Form->button('Valider', ['class'=>'btn btn-outline-success', 'type'=>'submit'])?>
<?= $this->Form->end() ?>
</div>
<!--
<div class="actions">
<php
echo $this->element('menu');
echo $this->element('menu_form', [
'pluralHumanName' => 'Catégories'
]);
?>
</div>
-->