|
Revision 251, 1.1 kB
(checked in by aarkerio, 9 months ago)
|
|
Update karamelo to 1.2 cake version
|
| Line | |
|---|
| 1 | <div class="colleges"> |
|---|
| 2 | <h2>List Colleges</h2> |
|---|
| 3 | |
|---|
| 4 | <table cellpadding="0" cellspacing="0"> |
|---|
| 5 | <tr> |
|---|
| 6 | <th>Id</th> |
|---|
| 7 | <th>Urlbase</th> |
|---|
| 8 | <th>Name</th> |
|---|
| 9 | <th>Description</th> |
|---|
| 10 | <th>Email</th> |
|---|
| 11 | <th>Keywords</th> |
|---|
| 12 | <th>Actions</th> |
|---|
| 13 | </tr> |
|---|
| 14 | <?php foreach ($colleges as $college): ?> |
|---|
| 15 | <tr> |
|---|
| 16 | <td><?php echo $college['College']['id']; ?></td> |
|---|
| 17 | <td><?php echo $college['College']['urlbase']; ?></td> |
|---|
| 18 | <td><?php echo $college['College']['name']; ?></td> |
|---|
| 19 | <td><?php echo $college['College']['description']; ?></td> |
|---|
| 20 | <td><?php echo $college['College']['email']; ?></td> |
|---|
| 21 | <td><?php echo $college['College']['keywords']; ?></td> |
|---|
| 22 | <td class="actions"> |
|---|
| 23 | <?php echo $html->link('View','/admin/colleges/view/' . $college['College']['id'])?> |
|---|
| 24 | <?php echo $html->link('Edit','/admin/colleges/edit/' . $college['College']['id'])?> |
|---|
| 25 | <?php echo $html->link('Delete','/admin/colleges/delete/' . $college['College']['id'], null, 'Are you sure you want to delete id ' . $college['College']['id'])?> |
|---|
| 26 | </td> |
|---|
| 27 | </tr> |
|---|
| 28 | <?php endforeach; ?> |
|---|
| 29 | </table> |
|---|
| 30 | |
|---|
| 31 | <ul class="actions"> |
|---|
| 32 | <li><?php echo $html->link('New College', '/admin/colleges/add'); ?></li> |
|---|
| 33 | </ul> |
|---|
| 34 | </div> |
|---|