From d8e99623986708c7b64984f8bf638a9fbec4a3d2 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Tue, 10 Dec 2019 12:27:46 -0500 Subject: Add edit-recipe form/page Mostly copied from add recipe page. Updates recipe successfully, but doesn't pull ingredients/steps into form, and doesn't use pass service to get recipe. --- .../src/app/edit-recipe/edit-recipe.component.html | 110 +++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 recipeBuddy/src/app/edit-recipe/edit-recipe.component.html (limited to 'recipeBuddy/src/app/edit-recipe/edit-recipe.component.html') diff --git a/recipeBuddy/src/app/edit-recipe/edit-recipe.component.html b/recipeBuddy/src/app/edit-recipe/edit-recipe.component.html new file mode 100644 index 0000000..a8f2e97 --- /dev/null +++ b/recipeBuddy/src/app/edit-recipe/edit-recipe.component.html @@ -0,0 +1,110 @@ +
+

Add Recipe

+ + + + Name is required + + + Name is required + + + + + + + + + Servings must be a number. + + + + + Minutes + + Must be in the form hh:mm + + + + Keywords/Tags + + + + Photos (URLS) + + + +
+

Ingredients

+
+
+

Ingredient {{ i + 1 }}

+
+ + + + + + + Amount must be a number. + + + + + + +
+
+
+
+ +
+
+ +
+

Steps

+
+
+

Step {{ i + 1 }}

+
+ + + + + + Minutes + + +
+
+
+
+ +
+
+ + +
-- cgit v1.1