updated author's forms

This commit is contained in:
2025-11-11 14:12:16 +01:00
parent ce21596610
commit 5a3a8459cc

View File

@@ -1,14 +1,16 @@
<div class="book-card-container">
<nz-card nzHoverable style="width:240px" [nzCover]="coverTemplate">
<nz-card-meta nzTitle="{{ authorInfo().name + authorInfo().firstName }}"></nz-card-meta>
</nz-card>
<ng-template #coverTemplate>
<img alt="example" src="https://www.w3schools.com/howto/img_avatar.png" />
</ng-template>
<div class="mt-2">
<app-modal [name]="'Modifier'" class="ml-6">
<app-update-author></app-update-author>
</app-modal>
<button nz-button nzType="primary" (click)="delete()" class="ml-2">Supprimer</button>
<div class="ml-2">
<nz-card nzHoverable style="width:240px" [nzCover]="coverTemplate">
<nz-card-meta nzTitle="{{ authorInfo().name + authorInfo().firstName }}"></nz-card-meta>
</nz-card>
<ng-template #coverTemplate>
<img alt="example" src="https://www.w3schools.com/howto/img_avatar.png" />
</ng-template>
<div class="mt-2">
<app-modal [name]="'Modifier'" class="ml-7">
<app-update-author></app-update-author>
</app-modal>
<button nz-button nzType="primary" (click)="delete()" class="ml-2">Supprimer</button>
</div>
</div>
</div>