feat: add edit page

This commit is contained in:
2025-12-18 22:59:53 -03:00
parent 70b7627076
commit be86d2353d
9 changed files with 302 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
<app-main-header
[title]="strings.editContact"
>
<app-rounded-btn
(keydown)="goBack()"
(click)="goBack()"
slot="action-button"
text="Go back"
/>
</app-main-header>
<app-card bgColor="var(--secondary)">
@if(form$|async; as form){
<app-contact-form
class="form"
(contact)="edit(form.value)"
[form]="form"
[submitText]="strings.save"
><app-form-header
[title]="strings.editTheContact|upperfirst"
slot="header"
/>
</app-contact-form>
}
</app-card>