refactor: use constant strings for labels

This commit is contained in:
2025-12-18 22:52:23 -03:00
parent a18b3d87d9
commit 3b6b660284

View File

@@ -6,19 +6,19 @@
[errorsDictionary]="companyAndNameErrorsDictionary" [errorsDictionary]="companyAndNameErrorsDictionary"
formControlName="name" formControlName="name"
[label]="(strings.name|upperfirst) + ':'" [label]="(strings.name|upperfirst) + ':'"
placeholder="Contact's name" [placeholder]="strings.contactsName|upperfirst"
/> />
<app-form-field <app-form-field
[errorsDictionary]="companyAndNameErrorsDictionary" [errorsDictionary]="companyAndNameErrorsDictionary"
formControlName="company" formControlName="company"
[label]="(strings.company|upperfirst) + ':'" [label]="(strings.company|upperfirst) + ':'"
placeholder="Contact's company" [placeholder]="strings.contactsCompany|upperfirst"
/> />
<app-form-field <app-form-field
[errorsDictionary]="phoneErrorsDictionary" [errorsDictionary]="phoneErrorsDictionary"
formControlName="phone" formControlName="phone"
[label]="(strings.phone|upperfirst) +':'" [label]="(strings.phone|upperfirst) +':'"
placeholder="Contact's phone" [placeholder]="strings.contactsPhone|upperfirst"
type="tel" type="tel"
/> />
</div> </div>