Преглед изворни кода

Add button to inventory page to go to recipe page

Lee Morgan пре 6 година
родитељ
комит
bea0c27c57
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      views/inventory/inventory.ejs

+ 3 - 1
views/inventory/inventory.ejs

@@ -12,6 +12,8 @@
         <div class="container">
             <h1><%= merchant.name %> inventory</h1>
 
+            <a href="/recipes">View Recipes</a>
+
             <button onclick="displayAdd()">Add Ingredient</button>
 
             <input id="filter" onkeyup="filter()" type="text" placeholder="Start typing to filter">
@@ -29,7 +31,7 @@
                 </thead>
             </table>
 
-            <button id="viewRecipes">View Recipes</button>
+            
         </div>
 
         <div class="add-ingredient">