Added RedirectUsingNamedRoute
[castle.git] / Samples / MonoRail / JSGenExample / Views / Home / index.vm
blob428e8cc66f0501c23f098a515d9e85b259450b57
1 <table style="width: 600px; border: 1px solid gray; border-bottom: 1px solid white;" cellpadding="2">\r
2 <tbody id="maintbody">\r
3         <tr>\r
4                 <th>&nbsp;</th>\r
5                 <th>Name</th>\r
6                 <th>Contact</th>\r
7         </tr>\r
8 #foreach($customer in $customers)\r
9         <tr>\r
10                 <td>$customer.id</td>\r
11                 <td align="center">$customer.name</td>\r
12                 <td align="center">$customer.email</td>\r
13         </tr>\r
14 </tbody>\r
15 #end\r
16 </table>\r
17 <div style="width: 598px; border: 1px solid gray;">\r
18         #component(DiggStylePagination with "page=$customers")\r
19 </div>\r
21 <br/>\r
23 <div id="container" style="display: none;"></div>\r
25 <p id="addnewcustomerlink">\r
26         $Ajax.LinkToRemote("Add customer", "NewCustomer.castle", "%{}")\r
27 </p>