Added Changes.txt
[castle.git] / MonoRail / TestSiteARSupport / Views / Account / new2.vm
blob5338422f5335c237ddbd93d9797ce95e1c6f9415
1 $Form.FormTag("%{action='insert'}")\r
2   <div style="padding: 10px;">\r
3   Name: \r
4   $FormHelper.TextField("account.name") \r
5   </div>\r
6   <div style="padding: 10px;">\r
7   Email:\r
8   $FormHelper.TextField("account.email")\r
9   </div>\r
10   <div style="padding: 10px;">\r
11   Password:\r
12   $FormHelper.PasswordField("account.password")\r
13   </div>\r
14   <div style="padding: 10px;">\r
15   Confirm password:\r
16   $FormHelper.PasswordField("account.confirmationpassword")\r
17   </div>\r
18   <div style="padding: 10px;">\r
19   Licenses:\r
20   $FormHelper.Select("account.ProductLicense.id", $licenses, "%{value='Id', firstoption='Please Select'}")\r
21   </div>\r
22   <div style="padding: 10px;">\r
23   Permissions:\r
24 #foreach($perm in $permissions)\r
25   <input type="checkbox" id="account_permissions" name="account.Permissions" value="$perm.Id" id="account_permissions" /> $perm.Name\r
26 #end\r
27   </div>\r
28   <div style="padding: 10px;">\r
29   User:\r
30 #set($list = $FormHelper.CreateCheckboxList("account.Users", $users, "%{value='Id', id='account_users'}"))\r
31 #foreach($it in $list)\r
32   $list.Item() $it.Name\r
33 #end\r
34   </div>\r
36   <input type="submit" id="insertbutton" value="Insert" />\r
38 $Form.EndFormTag()