blob: a81241d39269dd069df19b89194c5113702d039a [file] [log] [blame]
Derek Allard2067d1a2008-11-13 22:59:24 +00001<?php $this->load->view('header'); ?>
2
3<table border="0" cellpadding="0" cellspacing="1" style="width:100%">
4 <tr>
5 <th>Edit</th>
6 <th>Delete</th>
7 <?php foreach($fields as $field): ?>
8 <th><?php echo $field; ?></th>
9 <?php endforeach; ?>
10</tr>
11
12<?php foreach($query->result() as $row): ?>
13 <tr>
14 <td>&nbsp;<?php echo anchor(array($base_uri, 'edit', $row->$primary), $scaff_edit); ?>&nbsp;</td>
15 <td><?php echo anchor(array($base_uri, 'delete', $row->$primary), $scaff_delete); ?></td>
16 <?php foreach($fields as $field): ?>
17 <td><?php echo form_prep($row->$field);?></td>
18 <?php endforeach; ?>
19 </tr>
20<?php endforeach; ?>
21</table>
22
23<?php echo $paginate; ?>
24
25<?php $this->load->view('footer');
26/* End of file view.php */
Derek Jonesa3ffbbb2008-05-11 18:18:29 +000027/* Location: ./system/scaffolding/views/view.php */