Spaces:
Build error
Build error
Update templates/menu.html
Browse files- templates/menu.html +20 -0
templates/menu.html
CHANGED
|
@@ -189,6 +189,26 @@
|
|
| 189 |
</style>
|
| 190 |
</head>
|
| 191 |
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
|
| 193 |
<div class="fixed-top-bar">
|
| 194 |
<!-- Removed Reward Points and Referral Code -->
|
|
|
|
| 189 |
</style>
|
| 190 |
</head>
|
| 191 |
<body>
|
| 192 |
+
<!-- Allergy Selection Form -->
|
| 193 |
+
{% if not allergies_selected %}
|
| 194 |
+
<div class="container mt-4">
|
| 195 |
+
<h3>Do you have any allergies?</h3>
|
| 196 |
+
<form method="POST" action="/set_allergies">
|
| 197 |
+
<label for="allergies" class="form-label">Select your allergies:</label>
|
| 198 |
+
<div class="form-check">
|
| 199 |
+
<input class="form-check-input" type="checkbox" name="allergies" value="gluten" id="gluten">
|
| 200 |
+
<label class="form-check-label" for="gluten">Gluten</label>
|
| 201 |
+
</div>
|
| 202 |
+
<div class="form-check">
|
| 203 |
+
<input class="form-check-input" type="checkbox" name="allergies" value="peanuts" id="peanuts">
|
| 204 |
+
<label class="form-check-label" for="peanuts">Peanuts</label>
|
| 205 |
+
</div>
|
| 206 |
+
<!-- Add more allergens as necessary -->
|
| 207 |
+
<button type="submit" class="btn btn-primary">Save Allergies</button>
|
| 208 |
+
</form>
|
| 209 |
+
</div>
|
| 210 |
+
{% endif %}
|
| 211 |
+
|
| 212 |
|
| 213 |
<div class="fixed-top-bar">
|
| 214 |
<!-- Removed Reward Points and Referral Code -->
|