Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteARSupport / Views / Account / edit2.vm
blob1078d19755ade1a325dc8a4b06284e66c5a207fe
1 $Form.FormTag("%{action='Update',disablevalidation-'true'}")\r
2 \r
3   $FormHelper.HiddenField("account.id") \r
4 \r
5   <div style="padding: 10px;">\r
6   Name: \r
7   $FormHelper.TextField("account.name") \r
8   </div>\r
9   <div style="padding: 10px;">\r
10   Email:\r
11   $FormHelper.TextField("account.email")\r
12   </div>\r
13   <div style="padding: 10px;">\r
14   Password:\r
15   $FormHelper.PasswordField("account.password")\r
16   </div>\r
17   <div style="padding: 10px;">\r
18   Confirm password:\r
19   $FormHelper.PasswordField("account.confirmationpassword")\r
20   </div>\r
21   <div style="padding: 10px;">\r
22   Licenses:\r
23   $FormHelper.Select("account.ProductLicense.id", $licenses, "%{value='Id', firstoption='Please Select', firstoptionvalue=''}")\r
24   </div>\r
25   <div style="padding: 10px;">  \r
26   Permissions:  <br />\r
27   Total: $account.Permissions.Count <br />\r
28 #set($list = $FormHelper.CreateCheckboxList("account.Permissions", $permissions, "%{value='Id'}"))\r
29 #foreach($it in $list)\r
30   $list.Item() $it\r
31 #end\r
32   </div>\r
33   <div style="padding: 10px;">\r
34   User:\r
35 #set($list = $FormHelper.CreateCheckboxList("account.Users", $users, "%{value='Id'}"))\r
36 #foreach($it in $list)\r
37   $list.Item() $it.Name\r
38 #end\r
39   </div>\r
41   <input type="submit" id="updatebutton" value="Update" />\r
43 $Form.EndFormTag()\r