blob: 5fe4620939c74351f23be14a8ad8c0305944c74f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<div *ngIf="cookedRecipe" class="outer-box">
<h1>{{cookedRecipe.name}}</h1>
<div class="input-box">
Serving<input (keyup)="updateRecipe($event)">
</div>
<h4>Ingredients:</h4>
<div class="ingredients-list">
<li *ngFor="let ing of cookedRecipe.ingredients">
{{ing.name}}, {{ing.amount}} {{ing.unit}}
</div>
</div>
<button class="button" routerLink="/cook"> Ready </button>
|