TRIX-18 replace first/last name with personal/family name

This commit is contained in:
Dragos 2021-05-31 11:19:14 +03:00
parent 447f167e4d
commit 79f1a01aea
2 changed files with 8 additions and 8 deletions

View File

@ -10,14 +10,14 @@
<div class="row g-3 mt-3">
<div class="col-sm-4">
<div class="form-floating">
<input type="text" class="form-control" id="firstName" formControlName="firstName" placeholder="First name" [appAutofocus]="true" [appAutofocusDelay]="600">
<label for="firstName">First name</label>
<input type="text" class="form-control" id="firstName" formControlName="firstName" placeholder="Personal name" [appAutofocus]="true" [appAutofocusDelay]="600">
<label for="firstName">Personal name</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-floating">
<input type="text" class="form-control" id="lastName" formControlName="lastName" placeholder="Last name">
<label for="lastName">Last name</label>
<input type="text" class="form-control" id="lastName" formControlName="lastName" placeholder="Family name">
<label for="lastName">Family name</label>
</div>
</div>
<div class="col-sm-4">

View File

@ -53,16 +53,16 @@
<div class="row g-4" *ngIf="!changePassword">
<div class="col-sm-4">
<div class="form-floating">
<input type="text" class="form-control" id="firstName" formControlName="firstName" placeholder="First name"
<input type="text" class="form-control" id="firstName" formControlName="firstName" placeholder="Personal name"
appAlphaOnly="^[A-Za-z-. ]+$">
<label for="firstName">First name</label>
<label for="firstName">Personal name</label>
</div>
</div>
<div class="col-sm-4">
<div class="form-floating">
<input type="text" class="form-control" id="lastName" formControlName="lastName" placeholder="Last name"
<input type="text" class="form-control" id="lastName" formControlName="lastName" placeholder="Personal name"
appAlphaOnly="^[A-Za-z-. ]+$">
<label for="lastName">Last name</label>
<label for="lastName">Personal name</label>
</div>
</div>
<div class="col-sm-4">