@@ -12,11 +12,11 @@ <h1 class="h1-padding">Deed registration</h1>
12
12
< div class ="form-group row ">
13
13
< label class ="col-sm-2 col-form-label "> Title*</ label >
14
14
< div class ="col-sm-7 ">
15
- < input formControlName ="title " class ="form-control " placeholder ="Save the squirrels " maxLength ="50 ">
15
+ < input formControlName ="title " class ="form-control " placeholder ="Save the squirrels " maxLength ="50 ">
16
16
</ div >
17
17
</ div >
18
18
< div *ngIf ="registerDeedForm.get('title').touched ">
19
- < div *ngIf ="registerDeedForm.get('title').hasError('required') " class ="alert-danger alert " >
19
+ < div *ngIf ="registerDeedForm.get('title').hasError('required') " class ="alert-danger alert ">
20
20
Title field is required
21
21
</ div >
22
22
< div *ngIf ="registerDeedForm.get('title').hasError('minlength') " class ="alert-danger alert ">
@@ -29,10 +29,11 @@ <h1 class="h1-padding">Deed registration</h1>
29
29
</ div >
30
30
31
31
< div class ="form-group row ">
32
- < label class ="col-sm-2 col-form-label "> Organization:</ label >
33
- < div class ="col-sm-7 ">
34
- < input formControlName ="organization " class ="form-control " placeholder ="National Squirrel University " maxLength ="50 ">
35
- </ div >
32
+ < label class ="col-sm-2 col-form-label "> Organization:</ label >
33
+ < div class ="col-sm-7 ">
34
+ < input formControlName ="organization " class ="form-control " placeholder ="National Squirrel University "
35
+ maxLength ="50 ">
36
+ </ div >
36
37
</ div >
37
38
< div *ngIf ="registerDeedForm.get('organization').touched ">
38
39
< div *ngIf ="registerDeedForm.get('organization').hasError('minlength') " class ="alert-danger alert ">
@@ -69,7 +70,7 @@ <h1 class="h1-padding">Deed registration</h1>
69
70
< div class ="form-group row ">
70
71
< label class ="col-sm-2 col-form-label "> Date*</ label >
71
72
< div class ="col-sm-7 ">
72
- < input type ="date " formControlName ="date " class ="form-control " placeholder ="2010-10-10 ">
73
+ < input type ="date " formControlName ="date " class ="form-control " placeholder ="2010-10-10 ">
73
74
</ div >
74
75
</ div >
75
76
< div *ngIf ="registerDeedForm.get('date').touched ">
@@ -82,7 +83,7 @@ <h1 class="h1-padding">Deed registration</h1>
82
83
< div class ="form-group row ">
83
84
< label class ="col-sm-2 col-form-label "> Max People</ label >
84
85
< div class ="col-sm-7 ">
85
- < input formControlName ="maxPeople " class ="form-control ">
86
+ < input formControlName ="maxPeople " class ="form-control " maxlength =" 8 " >
86
87
</ div >
87
88
</ div >
88
89
< div *ngIf ="registerDeedForm.get('maxPeople').touched ">
@@ -142,12 +143,14 @@ <h1 class="h1-padding">Contacts</h1>
142
143
< h1 class ="h1-padding "> Description</ h1 >
143
144
144
145
145
- < div class ="form-group row ">
146
- < textarea formControlName ="description " #incidentDescription class ="form-control col-md-9 " id ="exampleFormControlTextarea1 " rows ="4 " placeholder ="Describe what is this project about " maxLength ="500 "> </ textarea >
147
- < small class ="col-md char-count ">
148
- {{500 - incidentDescription.value.length}}/500
149
- </ small >
150
- </ div >
146
+ < div class ="form-group row ">
147
+ < textarea formControlName ="description " #incidentDescription class ="form-control col-md-9 "
148
+ id ="exampleFormControlTextarea1 " rows ="4 " placeholder ="Describe what is this project about "
149
+ maxLength ="500 "> </ textarea >
150
+ < small class ="col-md char-count ">
151
+ {{500 - incidentDescription.value.length}}/500
152
+ </ small >
153
+ </ div >
151
154
152
155
< div *ngIf ="registerDeedForm.get('description').touched ">
153
156
< div *ngIf ="registerDeedForm.get('description').hasError('maxlength') " class ="alert-danger alert ">
@@ -156,7 +159,6 @@ <h1 class="h1-padding">Description</h1>
156
159
</ div >
157
160
158
161
159
-
160
162
< div class ="form-group row ">
161
163
< label class ="col-sm-2 col-form-label "> Tags:</ label >
162
164
< div class ="col-sm-7 ">
0 commit comments