diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:49:20 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 1942f11d5ee6926ad93dc1b79fae18325ba5de18 (patch) | |
tree | 3f2a3cd9466a56c419d197ac832a3e9cbc86bec4 /client/src/app/reset-password/reset-password.component.html | |
parent | 67ed6552b831df66713bac9e672738796128d33f (diff) | |
download | PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.gz PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.tar.zst PeerTube-1942f11d5ee6926ad93dc1b79fae18325ba5de18.zip |
Lazy load all routes
Diffstat (limited to 'client/src/app/reset-password/reset-password.component.html')
-rw-r--r-- | client/src/app/reset-password/reset-password.component.html | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/client/src/app/reset-password/reset-password.component.html b/client/src/app/reset-password/reset-password.component.html deleted file mode 100644 index af30af4a0..000000000 --- a/client/src/app/reset-password/reset-password.component.html +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | <div class="margin-content"> | ||
2 | <div i18n class="title-page title-page-single"> | ||
3 | Reset my password | ||
4 | </div> | ||
5 | |||
6 | <form role="form" (ngSubmit)="resetPassword()" [formGroup]="form"> | ||
7 | <div class="form-group"> | ||
8 | <label i18n for="password">Password</label> | ||
9 | <input | ||
10 | type="password" name="password" id="password" i18n-placeholder placeholder="Password" required autocomplete="new-password" | ||
11 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | ||
12 | > | ||
13 | <div *ngIf="formErrors.password" class="form-error"> | ||
14 | {{ formErrors.password }} | ||
15 | </div> | ||
16 | </div> | ||
17 | |||
18 | <div class="form-group"> | ||
19 | <label i18n for="password-confirm">Confirm password</label> | ||
20 | <input | ||
21 | type="password" name="password-confirm" id="password-confirm" i18n-placeholder placeholder="Confirmed password" required autocomplete="new-password" | ||
22 | formControlName="password-confirm" [ngClass]="{ 'input-error': formErrors['password-confirm'] }" | ||
23 | > | ||
24 | <div *ngIf="formErrors['password-confirm']" class="form-error"> | ||
25 | {{ formErrors['password-confirm'] }} | ||
26 | </div> | ||
27 | </div> | ||
28 | |||
29 | <input type="submit" i18n-value value="Reset my password" [disabled]="!form.valid || !isConfirmedPasswordValid()"> | ||
30 | </form> | ||
31 | </div> | ||