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