Gergely Polonkai
7c36ce1282
This also makes it possible to save data. Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
13 lines
300 B
HTML
13 lines
300 B
HTML
<div *ngIf="duck">
|
|
<div>
|
|
<label>id: </label>
|
|
{{ duck.id }}
|
|
</div>
|
|
<div>
|
|
<label>color: </label>
|
|
<input [(ngModel)]="duck.color" placeholder="Color" />
|
|
</div>
|
|
<button (click)="save()">Save</button>
|
|
<button (click)="goBack()">Back</button>
|
|
</div>
|