aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/profile-settings/profile-settings.component.html
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-29 15:52:54 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-29 15:52:54 +0300
commitdee367f320a972806d5bb251c01b2c0044e9a05a (patch)
treeb89fb7a21a771417a3c1e756190d4a9a2185bbf0 /src/app/components/profile-settings/profile-settings.component.html
parent6ec265cccd1abbb5cff68d95757a2e680c8e9e06 (diff)
downloadDevHive-Angular-dee367f320a972806d5bb251c01b2c0044e9a05a.tar
DevHive-Angular-dee367f320a972806d5bb251c01b2c0044e9a05a.tar.gz
DevHive-Angular-dee367f320a972806d5bb251c01b2c0044e9a05a.zip
Moved password field to the bottom (but still above update button) in profile settings
Diffstat (limited to 'src/app/components/profile-settings/profile-settings.component.html')
-rw-r--r--src/app/components/profile-settings/profile-settings.component.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/app/components/profile-settings/profile-settings.component.html b/src/app/components/profile-settings/profile-settings.component.html
index 60cd2e0..91740c7 100644
--- a/src/app/components/profile-settings/profile-settings.component.html
+++ b/src/app/components/profile-settings/profile-settings.component.html
@@ -54,16 +54,6 @@
</div>
<input type="text" class="fancy-input border-faded-slim border-bottom-only" formControlName="email" required>
</section>
- <section class="flex-col">
- <div class="flex-row">
- <label class="flexible fg-focus">Password</label>
-
- <label *ngIf="updateUserFormGroup.get('password')?.errors?.required" class="error">*Required</label>
- <label *ngIf="updateUserFormGroup.get('password')?.errors?.minlength" class="error">*Minimum 3 characters</label>
- <label *ngIf="updateUserFormGroup.get('password')?.errors?.pattern" class="error">*At least 1 number</label>
- </div>
- <input type="password" class="fancy-input border-faded-slim border-bottom-only" formControlName="password" required>
- </section>
<button type="button" class="fg-focus width-full border-faded-slim padding-dot3 lighter-hover click-effect margin-top-dot4" (click)="toggleLanguages()">
▼ Edit Languages ▼
</button>
@@ -126,6 +116,16 @@
</div>
</section>
</section>
+ <section class="flex-col margin-top-dot5">
+ <div class="flex-row">
+ <label class="flexible fg-focus">Current Password</label>
+
+ <label *ngIf="updateUserFormGroup.get('password')?.errors?.required" class="error">*Required</label>
+ <label *ngIf="updateUserFormGroup.get('password')?.errors?.minlength" class="error">*Minimum 3 characters</label>
+ <label *ngIf="updateUserFormGroup.get('password')?.errors?.pattern" class="error">*At least 1 number</label>
+ </div>
+ <input type="password" class="fancy-input border-faded-slim border-bottom-only" formControlName="password" required>
+ </section>
<section class="margin-top-bot-dot3">
<app-success-bar></app-success-bar>
<app-error-bar></app-error-bar>