1 $Form.FormTag("%{action='insert'}")
\r
2 <div style="padding: 10px;">
\r
4 $FormHelper.TextField("account.name")
\r
6 <div style="padding: 10px;">
\r
8 $FormHelper.TextField("account.email")
\r
10 <div style="padding: 10px;">
\r
12 $FormHelper.PasswordField("account.password")
\r
14 <div style="padding: 10px;">
\r
16 $FormHelper.PasswordField("account.confirmationpassword")
\r
18 <div style="padding: 10px;">
\r
20 $FormHelper.Select("account.ProductLicense.id", $licenses, "%{value='Id', firstoption='Please Select'}")
\r
22 <div style="padding: 10px;">
\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
28 <div style="padding: 10px;">
\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
36 <input type="submit" id="insertbutton" value="Insert" />
\r