summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/add-recipe/add-recipe.component.html
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-07 11:51:22 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-08 15:03:07 -0500
commit2a89221eee68bc26ea3e90c380ce983f5a0985f0 (patch)
tree501a272365dca078ec5d63765a940bdf9e35954d /recipeBuddy/src/app/add-recipe/add-recipe.component.html
parent3b43f292a605717d08d3623e09bf35a4e0301414 (diff)
Add removing Ingredients/Steps from add form
Diffstat (limited to 'recipeBuddy/src/app/add-recipe/add-recipe.component.html')
-rw-r--r--recipeBuddy/src/app/add-recipe/add-recipe.component.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/add-recipe/add-recipe.component.html b/recipeBuddy/src/app/add-recipe/add-recipe.component.html
index 7e80e4e..47d2ea1 100644
--- a/recipeBuddy/src/app/add-recipe/add-recipe.component.html
+++ b/recipeBuddy/src/app/add-recipe/add-recipe.component.html
@@ -43,6 +43,10 @@
<input matInput placeholder="Units" type="text"
formControlName="units">
</mat-form-field>
+ <button matSuffix mat-mini-fab (click)="rmIngredient(i)"
+ type="button" style="margin-left: 10px">
+ <mat-icon>remove</mat-icon>
+ </button>
</div>
</div>
</div>
@@ -63,6 +67,10 @@
<input matInput placeholder="Timer" type="text"
formControlName="timer">
</mat-form-field>
+ <button matSuffix mat-mini-fab (click)="rmStep(i)"
+ type="button" style="margin-left: 10px">
+ <mat-icon>remove</mat-icon>
+ </button>
</div>
</div>
</div>