diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html')
-rw-r--r-- | client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html index c9f9d8f55..d85be846b 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.html | |||
@@ -25,14 +25,10 @@ | |||
25 | </div> | 25 | </div> |
26 | 26 | ||
27 | <div class="form-group"> | 27 | <div class="form-group"> |
28 | <my-input-text formControlName="password" | 28 | <my-input-text |
29 | id="password" | 29 | formControlName="password" id="password" i18n-placeholder placeholder="Current password" |
30 | i18n-placeholder placeholder="Current password" | 30 | [formError]="formErrors['password']" autocomplete="current-password" |
31 | [ngClass]="{ 'input-error': formErrors['password'] }" | 31 | ></my-input-text> |
32 | autocomplete="current-password"></my-input-text> | ||
33 | <div *ngIf="formErrors['password']" class="form-error"> | ||
34 | {{ formErrors['password'] }} | ||
35 | </div> | ||
36 | </div> | 32 | </div> |
37 | 33 | ||
38 | <input type="submit" i18n-value value="Change email" [disabled]="!form.valid"> | 34 | <input type="submit" i18n-value value="Change email" [disabled]="!form.valid"> |