11< div [@routerTransition] >
2- < h3 class ="form-title "> {{l("SignUp")}}</ h3 >
3-
4- < form #registerForm ="ngForm " class ="login-form " method ="post " novalidate (ngSubmit) ="save() ">
5-
6- < p class ="hint ">
7- {{l("PersonalInformations")}}
8- </ p >
9-
10- < div class ="form-group ">
11- < label class ="control-label visible-ie8 visible-ie9 "> {{l("Name")}}</ label >
12- < input class ="form-control placeholder-no-fix " autoFocus type ="text " placeholder ="{{l('Name')}} " [(ngModel)] ="model.name " name ="Name " required maxlength ="32 " />
13- </ div >
14-
15- < div class ="form-group ">
16- < label class ="control-label visible-ie8 visible-ie9 "> {{l("Surname")}}</ label >
17- < input class ="form-control placeholder-no-fix " type ="text " placeholder ="{{l('Surname')}} " [(ngModel)] ="model.surname " name ="Surname " required maxlength ="32 " />
18- </ div >
19-
20- < div class ="form-group ">
21- < label class ="control-label visible-ie8 visible-ie9 "> {{l("EmailAddress")}}</ label >
22- < input class ="form-control placeholder-no-fix " type ="email " placeholder ="{{l('EmailAddress')}} " [(ngModel)] ="model.emailAddress " name ="EmailAddress " required maxlength ="256 " pattern ="^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{1,})+$ " />
23- </ div >
24-
25- < p class ="hint ">
26- {{l("AccountSettings")}}
27- </ p >
28-
29- < div class ="form-group ">
30- < label class ="control-label visible-ie8 visible-ie9 "> {{l("UserName")}}</ label >
31- < input class ="form-control placeholder-no-fix input-ltr " type ="text " autocomplete ="off " placeholder ="{{l('UserName')}} " name ="UserName " [(ngModel)] ="model.userName " required maxlength ="32 " />
32- </ div >
33- < div class ="form-group ">
34- < label class ="control-label visible-ie8 visible-ie9 "> {{l("Password")}}</ label >
35- < input type ="password " name ="Password " class ="form-control " [(ngModel)] ="model.password " #Password ="ngModel " placeholder ="{{l('Password')}} " validateEqual ="PasswordRepeat "
36- reverse ="true " [minlength] ="passwordComplexitySetting.minLength " [maxlength] ="passwordComplexitySetting.maxPasswordLength "
37- required >
38- </ div >
39- < div class ="form-group ">
40- < label class ="control-label visible-ie8 visible-ie9 "> {{l("PasswordRepeat")}}</ label >
41- < input type ="password " name ="PasswordRepeat " class ="form-control " [ngModel] ="model.passwordRepeat " placeholder ="{{l('PasswordRepeat')}} " validateEqual ="Password "
42- reverse ="false " required >
43- </ div >
44- < div [hidden] ="registerForm.form.valid || registerForm.form.pristine " class ="form-group ">
45- < ul class ="help-block text-danger " *ngIf ="Password.errors ">
46- < li [hidden] ="!Password.errors.minlength "> {{l("PasswordComplexity_MinLength_Hint",passwordComplexitySetting.minLength)}}</ li >
47- < li [hidden] ="!Password.errors.maxLenght "> {{l("PasswordComplexity_MaxLength_Hint",passwordComplexitySetting.maxLength)}}</ li >
48- < li [hidden] ="!Password.errors.useUpperCaseLetters "> {{l("PasswordComplexity_UseUpperCaseLetters_Hint")}}</ li >
49- < li [hidden] ="!Password.errors.useLowerCaseLetters "> {{l("PasswordComplexity_UseLowerCaseLetters_Hint")}}</ li >
50- < li [hidden] ="!Password.errors.useNumbers "> {{l("PasswordComplexity_UseNumbers_Hint")}}</ li >
51- < li [hidden] ="!Password.errors.usePunctuations "> {{l("PasswordComplexity_UsePunctuations_Hint")}}</ li >
52- </ ul >
53- </ div >
54-
55- < div class ="form-actions ">
56- < button [disabled] ="saving " routerLink ="/login " type ="button " class ="btn btn-default "> < i class ="fa fa-arrow-left "> </ i > {{l("Back")}}</ button >
57- < button type ="submit " class ="btn btn-success uppercase " [disabled] ="!registerForm.form.valid "> < i class ="fa fa-check "> </ i > {{l("Submit")}}</ button >
58- </ div >
59-
60- </ form >
61- </ div >
2+ < div class ="container ">
3+ < div id ="LoginArea " class ="row ">
4+ < div class ="col-lg-12 ">
5+ < div class ="well bs-component ">
6+ < h3 class ="form-title "> {{l("SignUp")}}</ h3 >
7+
8+ < form #registerForm ="ngForm " class ="login-form " method ="post " novalidate (ngSubmit) ="save() ">
9+
10+ < p class ="hint ">
11+ {{l("PersonalInformations")}}
12+ </ p >
13+
14+ < div class ="form-group ">
15+ < label class ="control-label visible-ie8 visible-ie9 "> {{l("Name")}}</ label >
16+ < input class ="form-control placeholder-no-fix " autoFocus type ="text " placeholder ="{{l('Name')}} " [(ngModel)] ="model.name " name ="Name " required maxlength ="32 " />
17+ </ div >
18+
19+ < div class ="form-group ">
20+ < label class ="control-label visible-ie8 visible-ie9 "> {{l("Surname")}}</ label >
21+ < input class ="form-control placeholder-no-fix " type ="text " placeholder ="{{l('Surname')}} " [(ngModel)] ="model.surname " name ="Surname " required maxlength ="32 " />
22+ </ div >
23+
24+ < div class ="form-group ">
25+ < label class ="control-label visible-ie8 visible-ie9 "> {{l("EmailAddress")}}</ label >
26+ < input class ="form-control placeholder-no-fix " type ="email " placeholder ="{{l('EmailAddress')}} " [(ngModel)] ="model.emailAddress " name ="EmailAddress " required maxlength ="256 " pattern ="^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{1,})+$ " />
27+ </ div >
28+
29+ < p class ="hint ">
30+ {{l("AccountSettings")}}
31+ </ p >
32+
33+ < div class ="form-group ">
34+ < label class ="control-label visible-ie8 visible-ie9 "> {{l("UserName")}}</ label >
35+ < input class ="form-control placeholder-no-fix input-ltr " type ="text " autocomplete ="off " placeholder ="{{l('UserName')}} " name ="UserName " [(ngModel)] ="model.userName " required maxlength ="32 " />
36+ </ div >
37+ < div class ="form-group ">
38+ < label class ="control-label visible-ie8 visible-ie9 "> {{l("Password")}}</ label >
39+ < input type ="password " name ="Password " class ="form-control " [(ngModel)] ="model.password " placeholder ="{{l('Password')}} " required >
40+ </ div >
41+
42+ < div class ="form-actions ">
43+ < button [disabled] ="saving " [routerLink] ="['../login'] " type ="button " class ="btn btn-default "> < i class ="fa fa-arrow-left "> </ i > {{l("Back")}}</ button >
44+ < button type ="submit " class ="btn btn-success uppercase " [disabled] ="!registerForm.form.valid "> < i class ="fa fa-check "> </ i > {{l("Submit")}}</ button >
45+ </ div >
46+
47+ </ form >
48+ </ div >
49+ </ div >
50+ </ div >
51+ </ div >
52+ </ div >
0 commit comments