diff options
Diffstat (limited to 'client/src/app/+my-account')
2 files changed, 4 insertions, 5 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html index f1127b6a1..43facb7ed 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.html | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | <label i18n for="current-password">Change password</label> | 5 | <label i18n for="current-password">Change password</label> |
6 | <my-input-toggle-hidden formControlName="current-password" | 6 | <my-input-toggle-hidden formControlName="current-password" |
7 | id="current-password" | 7 | inputId="current-password" |
8 | i18n-placeholder placeholder="Current password" | 8 | i18n-placeholder placeholder="Current password" |
9 | [ngClass]="{ 'input-error': formErrors['current-password'] }" | 9 | [ngClass]="{ 'input-error': formErrors['current-password'] }" |
10 | autocomplete="current-password"></my-input-toggle-hidden> | 10 | autocomplete="current-password"></my-input-toggle-hidden> |
@@ -13,7 +13,7 @@ | |||
13 | </div> | 13 | </div> |
14 | 14 | ||
15 | <my-input-toggle-hidden formControlName="new-password" | 15 | <my-input-toggle-hidden formControlName="new-password" |
16 | id="new-password" | 16 | inputId="new-password" |
17 | i18n-placeholder placeholder="New password" | 17 | i18n-placeholder placeholder="New password" |
18 | [ngClass]="{ 'input-error': formErrors['new-password'] }" | 18 | [ngClass]="{ 'input-error': formErrors['new-password'] }" |
19 | autocomplete="new-password"></my-input-toggle-hidden> | 19 | autocomplete="new-password"></my-input-toggle-hidden> |
@@ -22,7 +22,7 @@ | |||
22 | </div> | 22 | </div> |
23 | 23 | ||
24 | <my-input-toggle-hidden formControlName="new-confirmed-password" | 24 | <my-input-toggle-hidden formControlName="new-confirmed-password" |
25 | id="new-confirmed-password" | 25 | inputId="new-confirmed-password" |
26 | i18n-placeholder placeholder="Confirm new password" | 26 | i18n-placeholder placeholder="Confirm new password" |
27 | [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }" | 27 | [ngClass]="{ 'input-error': formErrors['new-confirmed-password'] }" |
28 | autocomplete="new-password"></my-input-toggle-hidden> | 28 | autocomplete="new-password"></my-input-toggle-hidden> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss index 0d1f3094a..4e3fda587 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-change-password/my-account-change-password.component.scss | |||
@@ -11,8 +11,7 @@ my-input-toggle-hidden { | |||
11 | display: block; | 11 | display: block; |
12 | } | 12 | } |
13 | 13 | ||
14 | #new-password, | 14 | my-input-toggle-hidden + my-input-toggle-hidden { |
15 | #new-confirmed-password { | ||
16 | margin-top: 15px; | 15 | margin-top: 15px; |
17 | } | 16 | } |
18 | 17 | ||