diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-12 17:06:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-12 17:06:28 +0200 |
commit | a80e84f047dc3d2229f1c5df9f008298fafb85a0 (patch) | |
tree | 2c1f736e4b0c9af85f5ddb9c776613e4986346fd /client/src | |
parent | 2f4c784a92ac50cacef07f4925e284b4041422f4 (diff) | |
download | PeerTube-a80e84f047dc3d2229f1c5df9f008298fafb85a0.tar.gz PeerTube-a80e84f047dc3d2229f1c5df9f008298fafb85a0.tar.zst PeerTube-a80e84f047dc3d2229f1c5df9f008298fafb85a0.zip |
Add class to email change form
Diffstat (limited to 'client/src')
2 files changed, 2 insertions, 2 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 ebfe3126d..5492cdf22 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 | |||
@@ -9,7 +9,7 @@ | |||
9 | <span class="email">{{ user.pendingEmail }}</span> is awaiting email verification | 9 | <span class="email">{{ user.pendingEmail }}</span> is awaiting email verification |
10 | </div> | 10 | </div> |
11 | 11 | ||
12 | <form role="form" (ngSubmit)="changeEmail()" [formGroup]="form"> | 12 | <form role="form" class="change-email" (ngSubmit)="changeEmail()" [formGroup]="form"> |
13 | 13 | ||
14 | <div class="form-group"> | 14 | <div class="form-group"> |
15 | <label i18n for="new-email">New email</label> | 15 | <label i18n for="new-email">New email</label> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts index 577c5b102..ec7cf935c 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts | |||
@@ -5,7 +5,7 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
5 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 5 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
6 | import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service' | 6 | import { UserValidatorsService } from '@app/shared/forms/form-validators/user-validators.service' |
7 | import { User } from '../../../../../../shared' | 7 | import { User } from '../../../../../../shared' |
8 | import { switchMap, tap } from 'rxjs/operators' | 8 | import { tap } from 'rxjs/operators' |
9 | 9 | ||
10 | @Component({ | 10 | @Component({ |
11 | selector: 'my-account-change-email', | 11 | selector: 'my-account-change-email', |