summaryrefslogtreecommitdiff
path: root/app/php/components/LoginBox.tpl
blob: c602b888f6608c859ed27b314c36e53604037dde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Username:
<com:TTextBox ID="Login"
              ValidationGroup="LoginGroup" />
<com:TRequiredFieldValidator
   ControlToValidate="Login"
   Display="Dynamic"
   ErrorMessage="Username cannot be empty"
   ValidationGroup="LoginGroup" />
<br />
Password:
<com:TTextBox ID="Password"
              TextMode="Password"
              ValidationGroup="LoginGroup" />
<com:TRequiredFieldValidator
   ControlToValidate="Password"
   Display="Dynamic"
   ErrorMessage="Password cannot be empty"
   ValidationGroup="LoginGroup" />
<com:TCustomValidator
   ControlToValidate="Password"
   OnServerValidate="validatePassword"
   Display="Dynamic"
   ErrorMessage="Username and password don't match"
   ValidationGroup="LoginGroup" />
<br />
<com:TButton
   Text="Login"
   OnCommand="loginUser"
   ValidationGroup="LoginGroup" />