summaryrefslogtreecommitdiff
path: root/views/recipe/createStep.ejs
diff options
context:
space:
mode:
authorroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
committerroot <root@vagrantz.xyz>2021-04-06 10:57:50 +0000
commit8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch)
treed5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /views/recipe/createStep.ejs
initial public commitHEADmaster
Diffstat (limited to 'views/recipe/createStep.ejs')
-rw-r--r--views/recipe/createStep.ejs29
1 files changed, 29 insertions, 0 deletions
diff --git a/views/recipe/createStep.ejs b/views/recipe/createStep.ejs
new file mode 100644
index 0000000..99812f4
--- /dev/null
+++ b/views/recipe/createStep.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'>Create Recipe Step</h4>
+ <form id='createForm' action="/recipe/<%= recipe._id %>/step" method='POST'>
+ <label for="">Step Number:</label>
+ <input name='newStep[number]' type='text'>
+ <label for="">Step instructions:</label>
+ <textarea name='newStep[step]'></textarea>
+ <button>Edit</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') %>