1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" 5 xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> 6 <head> 7 <title>Login</title> 8 </head> 9 10 <body template:element="login"> 11 <h1>Login</h1> 12 13 <form method="post"> 14 <table cellspacing="0" cellpadding="5" id="login-info"> 15 <thead> 16 <tr> 17 <th class="heading" colspan="2">Login</th> 18 </tr> 19 </thead> 20 <tbody> 21 <tr template:element="error" template:init="no"> 22 <th>Error</th> 23 <td><span template:attribute-area="message,replace">error message</span></td> 24 </tr> 25 <tr> 26 <th>Username</th> 27 <td><input type="text" template:attribute-field="username" name="..." value="..." size="20"/></td> 28 </tr> 29 <tr> 30 <th>Password</th> 31 <td><input type="password" template:attribute-field="password" name="..." value="..." size="20"/></td> 32 </tr> 33 <tr> 34 <td colspan="2"> 35 <input type="submit" value="Log in!" name="login" /> 36 </td> 37 </tr> 38 </tbody> 39 </table> 40 <input type="hidden" template:attribute-field="return_to" name="..." value="..."/> 41 <input type="hidden" template:attribute-field="claimed_id" name="..." value="..."/> 42 <input type="hidden" template:attribute-field="identity" name="..." value="..."/> 43 </form> 44 45 </body> 46 </html>