1 $Form.FormTag("%{action='Insert'}")
\r
3 <div style="padding: 10px;">
\r
5 $FormHelper.TextField("account.name")
\r
7 <div style="padding: 10px;">
\r
9 $FormHelper.TextField("account.email")
\r
11 <div style="padding: 10px;">
\r
13 $FormHelper.PasswordField("account.password")
\r
15 <div style="padding: 10px;">
\r
17 $FormHelper.PasswordField("account.confirmationpassword")
\r
19 <div style="padding: 10px;">
\r
21 $FormHelper.Select("account.ProductLicense.id", $licenses, "%{value='Id', firstoption='Please Select', firstoptionvalue=''}")
\r
23 <div style="padding: 10px;">
\r
25 #set($list = $FormHelper.CreateCheckboxList("account.Permissions", $permissions, "%{value='Id', id='account_permissions'}"))
\r
26 #foreach($it in $list)
\r
27 $list.Item() $it.Name
\r
30 <div style="padding: 10px;">
\r
32 #set($list = $FormHelper.CreateCheckboxList("account.Users", $users, "%{value='Id', id='account_users'}"))
\r
33 #foreach($it in $list)
\r
34 $list.Item() $it.Name
\r
38 <a href="javascript:validator.validate();void(0)">Validate it</a>
\r
40 <input type="submit" id="insertbutton" value="Insert" />
\r