2012-12-01 18:17:09 -08:00
|
|
|
<table>
|
|
|
|
|
<thead>
|
|
|
|
|
<th></th>
|
|
|
|
|
<th>Filename</th>
|
|
|
|
|
<th>Name</th>
|
|
|
|
|
<th>Desc</th>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<?php
|
2012-11-18 12:19:55 -08:00
|
|
|
foreach($attachments as $attachment) {
|
|
|
|
|
?>
|
2012-12-01 18:17:09 -08:00
|
|
|
<tr>
|
|
|
|
|
<td><?php echo $form->input('DocumentAttachment.id', array('type'=>'checkbox', 'value'=> $attachment['DocumentAttachment']['id'], 'label' => false)); ?></td>
|
|
|
|
|
<td>
|
|
|
|
|
<?php echo $html->link($attachment['Attachment']['filename'], '/attachments/view/'.$attachment['Attachment']['id']); ?>
|
|
|
|
|
</td>
|
|
|
|
|
<td><?php echo $attachment['Attachment']['name']; ?></td>
|
|
|
|
|
<td><?php echo $attachment['Attachment']['description']; ?></td>
|
|
|
|
|
</tr>
|
2012-11-18 12:19:55 -08:00
|
|
|
|
2012-12-01 18:17:09 -08:00
|
|
|
<?php } ?>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|