aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/signup.component.html
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-06 09:19:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-06 09:19:25 +0100
commita2b817d322ef4074bdaaf2589ada567f338323f4 (patch)
tree3738ebd74821872f14a3392ca8943a968a4cf547 /client/src/app/signup/signup.component.html
parenta06a31c75c0cd4d337e3e193c670a77cabcd9507 (diff)
downloadPeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.gz
PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.zst
PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.zip
Better error messages
Diffstat (limited to 'client/src/app/signup/signup.component.html')
-rw-r--r--client/src/app/signup/signup.component.html12
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>