<# start list for offices; sort by Country ISO Code desc, Name; show 10 rows per page; hide bottom pager; #> <# start header #> <table class="table table-striped table-hover"> <thead> <tr> <th>Office Name</th> <th>Country ISO Code</th> <th>Action</th> </tr> </thead> <# end header #> <# start row #> <tr> <td><# Name as html #></td> <td><# Country ISO Code as html #></td> <td><a href="office?edit=<# ID #>" class="label label-primary">Edit</a> <a href="delete-office?id=<# ID #>&index=<#[url.index as html]#>" onclick="return confirm('Delete Office record?')" class="label label-primary">Delete</a> </td> </tr> <# end row #> <# start footer #> </table> <# end footer #> <# no results #> <h4 class="alert alert-warning text-center">No Offices Found</h4> <# end no results #> <# end list #>