Spaces:
Sleeping
Sleeping
Update templates/menu.html (#3)
Browse files- Update templates/menu.html (dbf54f1cdfa436994b077a60eaec2b2068683469)
Co-authored-by: D Satish Chandra <[email protected]>
- templates/menu.html +4 -1
templates/menu.html
CHANGED
@@ -368,12 +368,15 @@ form.text-center.mb-4 {
|
|
368 |
{% if selected_category == category %}checked{% endif %} onchange="this.form.submit()">
|
369 |
<label class="form-check-label" for="category-{{ category }}">{{ category }}</label>
|
370 |
{% endfor %}
|
|
|
|
|
|
|
371 |
<input type="radio" id="category-CustomizedDish" name="category" value="Customized Dish" class="custom-radio"
|
372 |
{% if selected_category == "Customized Dish" %}checked{% endif %} onchange="this.form.submit()">
|
373 |
<label class="form-check-label" for="category-CustomizedDish">Customized Dish</label>
|
374 |
</div>
|
375 |
</form>
|
376 |
-
|
377 |
<!-- Show menu items only when Customized Dish is not selected -->
|
378 |
<div class="container mt-4">
|
379 |
<h1 class="text-center">Menu</h1>
|
|
|
368 |
{% if selected_category == category %}checked{% endif %} onchange="this.form.submit()">
|
369 |
<label class="form-check-label" for="category-{{ category }}">{{ category }}</label>
|
370 |
{% endfor %}
|
371 |
+
</div>
|
372 |
+
<!-- Separate Customized Dish radio button in a new div to align it properly -->
|
373 |
+
<div class="form-check">
|
374 |
<input type="radio" id="category-CustomizedDish" name="category" value="Customized Dish" class="custom-radio"
|
375 |
{% if selected_category == "Customized Dish" %}checked{% endif %} onchange="this.form.submit()">
|
376 |
<label class="form-check-label" for="category-CustomizedDish">Customized Dish</label>
|
377 |
</div>
|
378 |
</form>
|
379 |
+
|
380 |
<!-- Show menu items only when Customized Dish is not selected -->
|
381 |
<div class="container mt-4">
|
382 |
<h1 class="text-center">Menu</h1>
|