<h1>Manage {controller}</h1>
<div id="admin-content" >
<div style='padding: 5px 0px 5px 0px;'>
<a href="{$WEB_ROOT}{controller-route}/edit/" ><img src="{$WEB_ROOT}images/add.png" width="16" height="16" align="absmiddle" /></a> <a href="{$WEB_ROOT}{controller-route}/edit/" >Add {model}</a>
</div>
<table cellpadding="0" cellspacing="0" class="admin-table">
<tr class="listing-header" >
{foreach from=${object-single}Properties item=property }
<td>{$property}</td>
{/foreach}
<td width="50"> </td>
</tr>
{foreach from=${object-collection} item={object-single} }
<tr class="{cycle values="row-odd, row-even"}" >
{foreach from=${object-single}Properties item=property }
<td>{${object-single}->$property}</td>
{/foreach}
<td align="right">
<form action="{$WEB_ROOT}{controller-route}/delete/" method="POST" style="float: right;">
<input type="hidden" name="{object-single}" value="{${object-single}->id}" />
<input type="image" src="{$WEB_ROOT}images/delete.png" width="16" height="16" class="delete-button"/>
</form>
<a href="{$WEB_ROOT}{controller-route}/edit/{${object-single}->id}" ><img src="{$WEB_ROOT}images/page_white_edit.png" width="16" height="16" style="cursor:pointer;" alt="Edit"/></a>
</td>
</tr>
{/foreach}
</table>
</div>