-<h1>Liste d'alertes</h1>
<table>
<tr>
<th>Date de d'émission</th>
+ <th>Type</th>
+ <th>Message</th>
+ <th>Actions</th>
</tr>
<?php foreach ($alertes as $alerte): ?>
<tr>
+ <td><?php echo $alerte['Alerte']['creation']; ?></td>
+ <td><?php echo $alerte['Alerte']['nature']; ?></td>
+ <td><?php echo $alerte['Alerte']['message']; ?></td>
<td>
<?php echo $this->Html->link(
- $alerte['Alerte']['creation'],
+ 'Editer',
array('controller' => 'alertes', 'action' => 'edit', $alerte['Alerte']['id'])
- );
- ?>
- </td>
- <td>
- <?php
- echo $this->Form->postLink(
+ ).' - '.
+ $this->Form->postLink(
'Supprimer',
array('action' => 'delete', $alerte['Alerte']['id']),
array('confirm' => 'Etes-vous certain ?')