From 8170d5bc0544fbc02155b8b57751cd1dec33dd69 Mon Sep 17 00:00:00 2001
From: root <root@vagrantz.xyz>
Date: Tue, 6 Apr 2021 10:57:50 +0000
Subject: initial public commit

---
 views/recipe/editSteps.ejs | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 views/recipe/editSteps.ejs

(limited to 'views/recipe/editSteps.ejs')

diff --git a/views/recipe/editSteps.ejs b/views/recipe/editSteps.ejs
new file mode 100644
index 0000000..1df2a68
--- /dev/null
+++ b/views/recipe/editSteps.ejs
@@ -0,0 +1,29 @@
+<%- include('../partials/header') %>
+<%- include('../partials/nav') %>
+
+<div class='content'>
+    <%- include('../partials/categories') %>
+    <div class='main'>
+        <div class='createCard'>
+            <h4 style='text-align: center'>Edit Recipe Steps</h4>
+            <form id='createForm' action="/recipe/<%= recipe._id %>/step/<%= step._id %>?_method=PUT" method='POST'>
+                <label id='added<%= step.number %>' for="">Step Number:</label>
+                <input id='added<%= step.number %>' name='step[number]' type='text' value='<%= step.number %>'>
+                <label id='added<%= step.number %>' for="">Step instructions:</label>
+                <textarea id='added<%= step.number %>' name='step[step]'><%= step.step %></textarea>
+                <button><i class='fas fa-edit'></i></button>
+            </form>
+        </div>
+    </div>
+    <%- include('../partials/popular') %> 
+</div>
+
+<script type='text/javascript'>
+    const prevent = (e) => {
+        e.preventDefault();
+    }
+</script>
+
+<%- include('../partials/magicCats') %>
+<%- include('../partials/magicPops') %>
+<%- include('../partials/footer') %>
-- 
cgit v1.2.3