diff options
Diffstat (limited to 'client/src/app/signup/signup.component.html')
-rw-r--r-- | client/src/app/signup/signup.component.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html index 8a30ab512..eb36b29f6 100644 --- a/client/src/app/signup/signup.component.html +++ b/client/src/app/signup/signup.component.html | |||
@@ -11,9 +11,9 @@ | |||
11 | <label for="username">Username</label> | 11 | <label for="username">Username</label> |
12 | <input | 12 | <input |
13 | type="text" class="form-control" id="username" placeholder="Username" | 13 | type="text" class="form-control" id="username" placeholder="Username" |
14 | formControlName="username" | 14 | formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }" |
15 | > | 15 | > |
16 | <div *ngIf="formErrors.username" class="alert alert-danger"> | 16 | <div *ngIf="formErrors.username" class="form-error"> |
17 | {{ formErrors.username }} | 17 | {{ formErrors.username }} |
18 | </div> | 18 | </div> |
19 | </div> | 19 | </div> |
@@ -22,9 +22,9 @@ | |||
22 | <label for="email">Email</label> | 22 | <label for="email">Email</label> |
23 | <input | 23 | <input |
24 | type="text" class="form-control" id="email" placeholder="Email" | 24 | type="text" class="form-control" id="email" placeholder="Email" |
25 | formControlName="email" | 25 | formControlName="email" [ngClass]="{ 'input-error': formErrors['email'] }" |
26 | > | 26 | > |
27 | <div *ngIf="formErrors.email" class="alert alert-danger"> | 27 | <div *ngIf="formErrors.email" class="form-error"> |
28 | {{ formErrors.email }} | 28 | {{ formErrors.email }} |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
@@ -33,9 +33,9 @@ | |||
33 | <label for="password">Password</label> | 33 | <label for="password">Password</label> |
34 | <input | 34 | <input |
35 | type="password" class="form-control" id="password" placeholder="Password" | 35 | type="password" class="form-control" id="password" placeholder="Password" |
36 | formControlName="password" | 36 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" |
37 | > | 37 | > |
38 | <div *ngIf="formErrors.password" class="alert alert-danger"> | 38 | <div *ngIf="formErrors.password" class="form-error"> |
39 | {{ formErrors.password }} | 39 | {{ formErrors.password }} |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |