+++ /dev/null
-<h1>Liste d'exploitants</h1>
-<table>
- <tr>
- <th>Nom</th>
- <th>Référence</th>
- </tr>
-
- <?php foreach ($exploitants as $exploitant): ?>
- <tr>
- <td>
- <?php echo $this->Html->link(
- $exploitant['Exploitant']['nom'],
- array('controller' => 'exploitants', 'action' => 'edit', $exploitant['Exploitant']['id'])
- );
- ?>
- </td>
- <td><?php echo $exploitant['Exploitant']['reference']; ?></td>
- <td>
- <?php
- echo $this->Form->postLink(
- 'Supprimer',
- array('action' => 'delete', $exploitant['Exploitant']['id']),
- array('confirm' => 'Etes-vous certain ?')
- );
- ?>
- </td>
- </tr>
- <?php endforeach; ?>
- <?php unset($exploitant); ?>
- <?php echo $this->Html->link(
- 'Ajouter un exploitant',
- array('controller' => 'exploitants', 'action' => 'add')
- ); ?>
-</table>