diff options
Diffstat (limited to 'client/src/app/+login')
-rw-r--r-- | client/src/app/+login/login.component.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index 834ea6e51..aac2611c6 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html | |||
@@ -58,12 +58,10 @@ | |||
58 | <div class="form-group"> | 58 | <div class="form-group"> |
59 | <label i18n for="password">Password</label> | 59 | <label i18n for="password">Password</label> |
60 | 60 | ||
61 | <my-input-text formControlName="password" inputId="password" | 61 | <my-input-text |
62 | i18n-placeholder placeholder="Password" | 62 | formControlName="password" inputId="password" i18n-placeholder placeholder="Password" |
63 | [ngClass]="{ 'input-error': formErrors['password'] }" | 63 | [formError]="formErrors['password']" autocomplete="current-password" [tabindex]="2" |
64 | autocomplete="current-password" [tabindex]="2"></my-input-text> | 64 | ></my-input-text> |
65 | |||
66 | <div *ngIf="formErrors.password" class="form-error">{{ formErrors.password }}</div> | ||
67 | </div> | 65 | </div> |
68 | 66 | ||
69 | <input type="submit" class="peertube-button orange-button" i18n-value value="Login" [disabled]="!form.valid"> | 67 | <input type="submit" class="peertube-button orange-button" i18n-value value="Login" [disabled]="!form.valid"> |