aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html')
-rw-r--r--client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html32
1 files changed, 18 insertions, 14 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html
index bbdce5b02..05c0b5ddc 100644
--- a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html
+++ b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.html
@@ -2,22 +2,26 @@
2 2
3<form role="form" (ngSubmit)="updateMyProfile()" [formGroup]="form"> 3<form role="form" (ngSubmit)="updateMyProfile()" [formGroup]="form">
4 4
5 <label i18n for="display-name">Display name</label> 5 <div class="form-group">
6 <input 6 <label i18n for="display-name">Display name</label>
7 type="text" id="display-name" 7 <input
8 formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" 8 type="text" id="display-name"
9 > 9 formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }"
10 <div *ngIf="formErrors['display-name']" class="form-error"> 10 >
11 {{ formErrors['display-name'] }} 11 <div *ngIf="formErrors['display-name']" class="form-error">
12 {{ formErrors['display-name'] }}
13 </div>
12 </div> 14 </div>
13 15
14 <label i18n for="description">Description</label> 16 <div class="form-group">
15 <textarea 17 <label i18n for="description">Description</label>
16 id="description" formControlName="description" 18 <textarea
17 [ngClass]="{ 'input-error': formErrors['description'] }" 19 id="description" formControlName="description"
18 ></textarea> 20 [ngClass]="{ 'input-error': formErrors['description'] }"
19 <div *ngIf="formErrors.description" class="form-error"> 21 ></textarea>
20 {{ formErrors.description }} 22 <div *ngIf="formErrors.description" class="form-error">
23 {{ formErrors.description }}
24 </div>
21 </div> 25 </div>
22 26
23 <input type="submit" i18n-value value="Update my profile" [disabled]="!form.valid"> 27 <input type="submit" i18n-value value="Update my profile" [disabled]="!form.valid">