aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/account/account.component.html')
-rw-r--r--client/src/app/account/account.component.html33
1 files changed, 9 insertions, 24 deletions
diff --git a/client/src/app/account/account.component.html b/client/src/app/account/account.component.html
index 2fbb5a908..6f10e79cd 100644
--- a/client/src/app/account/account.component.html
+++ b/client/src/app/account/account.component.html
@@ -1,26 +1,11 @@
1<h3>Account</h3> 1<h3>Account</h3>
2 2
3<div *ngIf="error" class="alert alert-danger">{{ error }}</div> 3<div class="block">
4 4 <h4>Change password</h4>
5<form role="form" (ngSubmit)="changePassword()" [formGroup]="form"> 5 <my-account-change-password></my-account-change-password>
6 <div class="form-group"> 6</div>
7 <label for="new-password">New password</label> 7
8 <input 8<div class="block">
9 type="password" class="form-control" id="new-password" 9 <h4>Update my informations</h4>
10 formControlName="new-password" 10 <my-account-details [user]="user"></my-account-details>
11 > 11</div>
12 <div *ngIf="formErrors['new-password']" class="alert alert-danger">
13 {{ formErrors['new-password'] }}
14 </div>
15 </div>
16
17 <div class="form-group">
18 <label for="name">Confirm new password</label>
19 <input
20 type="password" class="form-control" id="new-confirmed-password"
21 formControlName="new-confirmed-password"
22 >
23 </div>
24
25 <input type="submit" value="Change password" class="btn btn-default" [disabled]="!form.valid">
26</form>