24 lines
617 B
HTML
24 lines
617 B
HTML
<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> |