Some JS generation tests works.
[castle.git] / Samples / MindDump / Castle.Applications.MindDump.Web / views / account / new.vm
blob437706221011d2e2ec67d824017055d04f4185df
1 <p align="center"> Please fill the fields below to create a new author account \r
2   and a blog. </p>\r
3 \r
4 <p>\r
5 <form action="CreateAccount.rails" method="post">\r
6 <table align="center" width="390px" border="0" cellspacing="2" cellpadding="2">\r
7   <tr>\r
8     <td>\r
9 #if ($errormessages)\r
10     <p align="left">\r
11     Sorry, but you have to correct the following errors first:\r
12     <ul>\r
13     #foreach( $error in $errormessages )\r
14           <li>$error</li>\r
15         #end\r
16         </ul>\r
17         </p>\r
18 #end\r
19         \r
20         <fieldset>\r
21           <legend>New account:</legend>\r
22         <table width="380px" border="0" cellspacing="5" cellpadding="2">\r
23           <tr>\r
24                 <td width="120px">Login:</td>\r
25                 <td><input type="text" name="login" value="$!login" maxlength="45"></td>\r
26           </tr>\r
27           <tr>\r
28                 <td>Name:</td>\r
29                 <td><input type="text" name="name" value="$!name" maxlength="45" size="30"></td>\r
30           </tr>\r
31           <tr>\r
32                 <td>E-mail:</td>\r
33                   <td><input type="text" name="email" value="$!email" maxlength="100" size="30"></td>\r
34           </tr>\r
35           <tr>\r
36                 <td>Password:</td> \r
37                 <td><input name="pwd" type="password" value="$!pwd" maxlength="12"></td>\r
38           </tr>\r
39           <tr>\r
40                 <td>Retype Password:</td>\r
41                 <td><input name="pwd2" type="password" value="$!pwd2" maxlength="12"></td>\r
42           </tr>\r
43         </table>\r
44         \r
45         </fieldset>\r
46         <br>\r
47         <fieldset>\r
48           <legend>Blog:</legend>\r
49         <table width="380px" border="0" cellspacing="5" cellpadding="2">\r
50           <tr>\r
51                 <td width="120px">Name:</td>\r
52                 <td><input type="text" name="blogname" value="$!blogname" maxlength="20"></td>\r
53           </tr>\r
54           <tr>\r
55                 <td>Description:</td>\r
56                 <td><input type="text" name="blogdesc" value="$!blogdesc" maxlength="45" size="30"></td>\r
57           </tr>\r
58           <tr>\r
59                 <td>Theme:</td>\r
60                   <td>\r
61 <select name="theme">\r
62         <option>defaulttheme</option>\r
63         <option>anothertheme</option>\r
64 </select>\r
65                   </td>\r
66           </tr>\r
67         </table>\r
68         \r
69         </fieldset>     \r
70         <br>\r
71         <div align="center">\r
72         <input name="act" type="submit" value="Create">\r
73         </div>\r
74         \r
75         </td>\r
76   </tr>\r
77 </table>\r
80 </form>\r
81 </p>