You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
343 B
11 lines
343 B
<div *ngIf="ingredient">
|
|
<h2>Edit Ingredient</h2>
|
|
<form (ngSubmit)="save()">
|
|
<mat-form-field appearance="fill">
|
|
<mat-label>Name</mat-label>
|
|
<input matInput [(ngModel)]="ingredient.name" name="name" required />
|
|
</mat-form-field>
|
|
<button mat-raised-button color="primary" type="submit">Save</button>
|
|
</form>
|
|
</div>
|