nagasurendra commited on
Commit
9c8f7c9
·
verified ·
1 Parent(s): 3bae0b3

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. 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 show_custom_dish_form %}
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
- {% endif %}
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 -->