Update templates/menu.html
Browse files- templates/menu.html +8 -8
templates/menu.html
CHANGED
@@ -462,19 +462,17 @@ form-check-input addon-option{
|
|
462 |
<i class="bi bi-search search-icon"></i> <!-- Search icon inside the input -->
|
463 |
</div>
|
464 |
</div>
|
465 |
-
|
466 |
<form method="get" action="/menu" class="text-center mb-4">
|
467 |
-
<label class="form-label fw-bold">Select
|
468 |
-
|
469 |
<!-- Veg Toggle -->
|
470 |
<div class="form-check form-check-inline">
|
471 |
-
<input type="checkbox" id="veg-toggle" name="
|
472 |
-
{% if
|
|
|
473 |
<label class="form-check-label" for="veg-toggle">Veg</label>
|
474 |
</div>
|
475 |
-
|
476 |
-
<!-- Customized Dish Toggle -->
|
477 |
-
<div class="form-check form-check-inline">
|
478 |
<input type="checkbox" id="customized-dish-toggle" name="customized_dish" class="custom-toggle"
|
479 |
{% if customized_dish_selected %}checked{% endif %} onchange="this.form.submit()">
|
480 |
<label class="form-check-label" for="customized-dish-toggle">Customized Dish</label>
|
@@ -482,6 +480,8 @@ form-check-input addon-option{
|
|
482 |
</form>
|
483 |
|
484 |
|
|
|
|
|
485 |
<!-- Show menu items only when Customized Dish is not selected -->
|
486 |
<div class="container mt-4">
|
487 |
<h1 class="text-center">Menu</h1>
|
|
|
462 |
<i class="bi bi-search search-icon"></i> <!-- Search icon inside the input -->
|
463 |
</div>
|
464 |
</div>
|
|
|
465 |
<form method="get" action="/menu" class="text-center mb-4">
|
466 |
+
<label class="form-label fw-bold">Select Category:</label>
|
467 |
+
|
468 |
<!-- Veg Toggle -->
|
469 |
<div class="form-check form-check-inline">
|
470 |
+
<input type="checkbox" id="veg-toggle" name="veg_toggle" class="custom-toggle"
|
471 |
+
{% if selected_category == "Veg" %}checked{% endif %}
|
472 |
+
onchange="this.form.submit()">
|
473 |
<label class="form-check-label" for="veg-toggle">Veg</label>
|
474 |
</div>
|
475 |
+
<div class="form-check form-check-inline">
|
|
|
|
|
476 |
<input type="checkbox" id="customized-dish-toggle" name="customized_dish" class="custom-toggle"
|
477 |
{% if customized_dish_selected %}checked{% endif %} onchange="this.form.submit()">
|
478 |
<label class="form-check-label" for="customized-dish-toggle">Customized Dish</label>
|
|
|
480 |
</form>
|
481 |
|
482 |
|
483 |
+
|
484 |
+
|
485 |
<!-- Show menu items only when Customized Dish is not selected -->
|
486 |
<div class="container mt-4">
|
487 |
<h1 class="text-center">Menu</h1>
|