aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/login/login.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/login/login.component.html
parenta06a31c75c0cd4d337e3e193c670a77cabcd9507 (diff)
downloadPeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.gz
PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.tar.zst
PeerTube-a2b817d322ef4074bdaaf2589ada567f338323f4.zip
Better error messages
Diffstat (limited to 'client/src/app/login/login.component.html')
-rw-r--r--client/src/app/login/login.component.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html
index 82b70c98c..24807987c 100644
--- a/client/src/app/login/login.component.html
+++ b/client/src/app/login/login.component.html
@@ -10,9 +10,9 @@
10 <label for="username">Username</label> 10 <label for="username">Username</label>
11 <input 11 <input
12 type="text" id="username" placeholder="Username" required 12 type="text" id="username" placeholder="Username" required
13 formControlName="username" 13 formControlName="username" [ngClass]="{ 'input-error': formErrors['username'] }"
14 > 14 >
15 <div *ngIf="formErrors.username" class="alert alert-danger"> 15 <div *ngIf="formErrors.username" class="form-error">
16 {{ formErrors.username }} 16 {{ formErrors.username }}
17 </div> 17 </div>
18 </div> 18 </div>
@@ -21,9 +21,9 @@
21 <label for="password">Password</label> 21 <label for="password">Password</label>
22 <input 22 <input
23 type="password" name="password" id="password" placeholder="Password" required 23 type="password" name="password" id="password" placeholder="Password" required
24 formControlName="password" 24 formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }"
25 > 25 >
26 <div *ngIf="formErrors.password" class="alert alert-danger"> 26 <div *ngIf="formErrors.password" class="form-error">
27 {{ formErrors.password }} 27 {{ formErrors.password }}
28 </div> 28 </div>
29 </div> 29 </div>