|
@@ -16,30 +16,30 @@
|
16
|
16
|
|
17
|
17
|
<ion-item>
|
18
|
18
|
<ion-label stacked>First name</ion-label>
|
19
|
|
- <ion-input placeholder="First Name" type="text" required #firstName></ion-input>
|
|
19
|
+ <ion-input formControlName="firstName" placeholder="First Name" type="text" required #firstName></ion-input>
|
20
|
20
|
</ion-item>
|
21
|
21
|
|
22
|
22
|
<ion-item>
|
23
|
23
|
<ion-label stacked>Last name</ion-label>
|
24
|
|
- <ion-input placeholder="Last Name" type="text" required #lastName></ion-input>
|
|
24
|
+ <ion-input formControlName="lastName" placeholder="Last Name" type="text" required #lastName></ion-input>
|
25
|
25
|
</ion-item>
|
26
|
26
|
|
27
|
27
|
<ion-item>
|
28
|
28
|
<ion-label stacked>E-mail</ion-label>
|
29
|
|
- <ion-input placeholder="Email" type="text" required #email></ion-input>
|
|
29
|
+ <ion-input formControlName="email" placeholder="Email" type="text" required #email></ion-input>
|
30
|
30
|
</ion-item>
|
31
|
31
|
|
32
|
32
|
<ion-item>
|
33
|
33
|
<ion-label stacked>Password</ion-label>
|
34
|
|
- <ion-input placeholder="Password" type="text" required #password></ion-input>
|
|
34
|
+ <ion-input formControlName="password" placeholder="Password" type="text" required #password></ion-input>
|
35
|
35
|
</ion-item>
|
36
|
36
|
|
37
|
37
|
<ion-item>
|
38
|
38
|
<ion-label stacked>Re-enter password</ion-label>
|
39
|
|
- <ion-input placeholder="Re-enter Password" type="text" required #passwordreentry></ion-input>
|
|
39
|
+ <ion-input formControlName="password" placeholder="Re-enter Password" type="text" required #passwordreentry></ion-input>
|
40
|
40
|
</ion-item>
|
41
|
41
|
|
42
|
42
|
<button ion-button full color="primary" style="margin-top: 20px;"
|
43
|
|
- type="submit" [disabled]="!destinationForm.valid" (click)=createDestination()>Add</button>
|
|
43
|
+ type="submit" [disabled]="!signupForm.valid" (click)=createUser()>Add</button>
|
44
|
44
|
</form>
|
45
|
45
|
</ion-content>
|