edit.ctp 1.35 KB
<nav class="large-3 medium-4 columns" id="actions-sidebar">
    <ul class="side-nav">
        <li class="heading"><?= __('Actions') ?></li>
        <li><?= $this->Form->postLink(
                __('Delete'),
                ['action' => 'delete', $groupesMetier->id],
                ['confirm' => __('Are you sure you want to delete # {0}?', $groupesMetier->id)]
            )
        ?></li>
        <li><?= $this->Html->link(__('List Groupes Metiers'), ['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>
        <li><?= $this->Html->link(__('List Utilisateurs'), ['controller' => 'Utilisateurs', 'action' => 'index']) ?></li>
        <li><?= $this->Html->link(__('New Utilisateur'), ['controller' => 'Utilisateurs', 'action' => 'add']) ?></li>
    </ul>
</nav>
<div class="groupesMetiers form large-9 medium-8 columns content">
    <?= $this->Form->create($groupesMetier) ?>
    <fieldset>
        <legend><?= __('Edit Groupes Metier') ?></legend>
        <?php
            echo $this->Form->input('nom');
            echo $this->Form->input('description');
        ?>
    </fieldset>
    <?= $this->Form->button(__('Submit')) ?>
    <?= $this->Form->end() ?>
</div>