add.ctp
813 Bytes
<nav class="large-3 medium-4 columns" id="actions-sidebar">
<ul class="side-nav">
<li class="heading"><?= __('Actions') ?></li>
<li><?= $this->Html->link(__('List Organismes'), ['action' => 'index']) ?></li>
<li><?= $this->Html->link(__('List Materiels'), ['controller' => 'Materiels', 'action' => 'index']) ?></li>
<li><?= $this->Html->link(__('New Materiel'), ['controller' => 'Materiels', 'action' => 'add']) ?></li>
</ul>
</nav>
<div class="organismes form large-9 medium-8 columns content">
<?= $this->Form->create($organisme) ?>
<fieldset>
<legend><?= __('Add Organisme') ?></legend>
<?php
echo $this->Form->input('nom');
?>
</fieldset>
<?= $this->Form->button(__('Submit')) ?>
<?= $this->Form->end() ?>
</div>