Update templates/menu.html
Browse files- templates/menu.html +2 -2
templates/menu.html
CHANGED
@@ -491,7 +491,7 @@ form-check-input addon-option{
|
|
491 |
<h1 class="text-center">Menu</h1>
|
492 |
|
493 |
<!-- Display text boxes for Customized Dish -->
|
494 |
-
{% if
|
495 |
<div id="custom-dish-form" class="mt-4">
|
496 |
<h3>Create Your Custom Dish</h3>
|
497 |
<form method="POST" action="/customdish/generate_custom_dish">
|
@@ -506,7 +506,7 @@ form-check-input addon-option{
|
|
506 |
<button type="submit" class="btn btn-primary">Submit</button>
|
507 |
</form>
|
508 |
</div>
|
509 |
-
{%
|
510 |
|
511 |
|
512 |
<!-- Menu Sections -->
|
|
|
491 |
<h1 class="text-center">Menu</h1>
|
492 |
|
493 |
<!-- Display text boxes for Customized Dish -->
|
494 |
+
{% if selected_category == "Customized Dish" %}
|
495 |
<div id="custom-dish-form" class="mt-4">
|
496 |
<h3>Create Your Custom Dish</h3>
|
497 |
<form method="POST" action="/customdish/generate_custom_dish">
|
|
|
506 |
<button type="submit" class="btn btn-primary">Submit</button>
|
507 |
</form>
|
508 |
</div>
|
509 |
+
{% else %}
|
510 |
|
511 |
|
512 |
<!-- Menu Sections -->
|