File tree Expand file tree Collapse file tree
fork_recipes/recipes/templates/recipes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 148148 < input type ="text " name ="ingredient_quantity[] " required placeholder ="Quantity (e.g., 2) "
149149 value ="{{ ingredient.quantity }} "
150150 class ="flex-1 rounded-md border border-gray-300 px-4 py-2 focus:outline-none focus:ring-2 focus:ring-mint-500 focus:border-mint-500 shadow-sm ">
151- < input type ="text " name ="ingredient_metric[] " required placeholder ="Metric (e.g., cups) "
151+ < input type ="text " name ="ingredient_metric[] " placeholder ="Metric (e.g., cups) "
152152 value ="{{ ingredient.metric }} "
153153 class ="flex-1 rounded-md border border-gray-300 px-4 py-2 focus:outline-none focus:ring-2 focus:ring-mint-500 focus:border-mint-500 shadow-sm ">
154154 < button type ="button " class ="text-red-500 px-4 py-2 hover:text-red-700 ml-2 "
309309 class="flex-1 rounded-md border border-gray-300 px-4 py-2 focus:outline-none focus:ring-2 focus:ring-mint-500 focus:border-mint-500 shadow-sm">
310310 <input type="text" name="ingredient_quantity[]" required placeholder="Quantity (e.g., 2)"
311311 class="flex-1 rounded-md border border-gray-300 px-4 py-2 focus:outline-none focus:ring-2 focus:ring-mint-500 focus:border-mint-500 shadow-sm">
312- <input type="text" name="ingredient_metric[]" required placeholder="Metric (e.g., cups)"
312+ <input type="text" name="ingredient_metric[]" placeholder="Metric (e.g., cups)"
313313 class="flex-1 rounded-md border border-gray-300 px-4 py-2 focus:outline-none focus:ring-2 focus:ring-mint-500 focus:border-mint-500 shadow-sm">
314314 <button type="button" class="text-red-500 px-4 py-2 hover:text-red-700 ml-2"
315315 onclick="this.parentElement.remove()">
You can’t perform that action at this time.
0 commit comments