diff options
Diffstat (limited to 'client/src/app/account/account.component.html')
-rw-r--r-- | client/src/app/account/account.component.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/client/src/app/account/account.component.html b/client/src/app/account/account.component.html new file mode 100644 index 000000000..5a8847acd --- /dev/null +++ b/client/src/app/account/account.component.html | |||
@@ -0,0 +1,27 @@ | |||
1 | <h3>Account</h3> | ||
2 | |||
3 | <div *ngIf="information" class="alert alert-success">{{ information }}</div> | ||
4 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | ||
5 | |||
6 | <form role="form" (ngSubmit)="changePassword()" [formGroup]="form"> | ||
7 | <div class="form-group"> | ||
8 | <label for="new-password">New password</label> | ||
9 | <input | ||
10 | type="password" class="form-control" id="new-password" | ||
11 | formControlName="new-password" | ||
12 | > | ||
13 | <div *ngIf="formErrors['new-password']" class="alert alert-danger"> | ||
14 | {{ formErrors['new-password'] }} | ||
15 | </div> | ||
16 | </div> | ||
17 | |||
18 | <div class="form-group"> | ||
19 | <label for="name">Confirm new password</label> | ||
20 | <input | ||
21 | type="password" class="form-control" id="new-confirmed-password" | ||
22 | formControlName="new-confirmed-password" | ||
23 | > | ||
24 | </div> | ||
25 | |||
26 | <input type="submit" value="Change password" class="btn btn-default" [disabled]="!form.valid"> | ||
27 | </form> | ||