From 8170d5bc0544fbc02155b8b57751cd1dec33dd69 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Apr 2021 10:57:50 +0000 Subject: initial public commit --- views/recipe/edit.ejs | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 views/recipe/edit.ejs (limited to 'views/recipe/edit.ejs') diff --git a/views/recipe/edit.ejs b/views/recipe/edit.ejs new file mode 100644 index 0000000..d72b3e4 --- /dev/null +++ b/views/recipe/edit.ejs @@ -0,0 +1,71 @@ +<%- include('../partials/header') %> +<%- include('../partials/nav') %> + +
+ <%- include('../partials/categories') %> +
+
+

Edit Recipe Details and Ingredients

+
+ + + + Upload image + <% if(files) { %> + + <% } %> + + + + + +
+ +
+ +
+
+
+

Instructions (<%= recipe.steps.length %> steps)

+ <% recipe.steps.map(s => { %> +
+
+
Step <%= s.number %>:
+

<%= s.step %>

+
+
+
+ +
+
+ +
+
+
+ <% }) %> +
+
+ +
+
+ <%- include('../partials/popular') %> +
+ + + +<%- include('../partials/magicCats') %> +<%- include('../partials/magicPops') %> +<%- include('../partials/footer') %> -- cgit v1.2.3