nagasurendra commited on
Commit
d901af3
·
verified ·
1 Parent(s): 7ebb7a5

Update templates/combined_summary.html

Browse files
Files changed (1) hide show
  1. templates/combined_summary.html +1 -6
templates/combined_summary.html CHANGED
@@ -155,7 +155,6 @@
155
  </div>
156
  </div>
157
 
158
- <!-- Order Items Section -->
159
  <!-- Order Items Section -->
160
  <div class="section bg-white rounded-xl shadow-lg p-6 mb-6">
161
  <h2 class="text-xl font-semibold mb-6">Your Order Summary</h2>
@@ -167,7 +166,7 @@
167
  <p class="text-gray-600 mb-2">${{ "%.2f"|format(item.price) }}</p>
168
 
169
  <!-- Ingredients Toggle Section -->
170
- <button class="text-red-600 text-sm font-semibold mt-2 ml-2" onclick="toggleIngredients({{ loop.index }})">
171
  Show Ingredients
172
  </button>
173
 
@@ -196,9 +195,6 @@
196
  {% endfor %}
197
  </div>
198
  </div>
199
- <button class="text-red-600 text-sm font-semibold mt-2 ml-2 hidden" id="hideIngredients{{ loop.index }}" onclick="toggleIngredients({{ loop.index }})">
200
- Hide Ingredients
201
- </button>
202
  </div>
203
 
204
  <!-- Modal for Ingredients -->
@@ -238,7 +234,6 @@
238
 
239
 
240
 
241
-
242
  </div>
243
 
244
  <script>
 
155
  </div>
156
  </div>
157
 
 
158
  <!-- Order Items Section -->
159
  <div class="section bg-white rounded-xl shadow-lg p-6 mb-6">
160
  <h2 class="text-xl font-semibold mb-6">Your Order Summary</h2>
 
166
  <p class="text-gray-600 mb-2">${{ "%.2f"|format(item.price) }}</p>
167
 
168
  <!-- Ingredients Toggle Section -->
169
+ <button id="ingredientsToggleButton{{ loop.index }}" class="text-red-600 text-sm font-semibold mt-2 ml-2" onclick="toggleIngredients({{ loop.index }})">
170
  Show Ingredients
171
  </button>
172
 
 
195
  {% endfor %}
196
  </div>
197
  </div>
 
 
 
198
  </div>
199
 
200
  <!-- Modal for Ingredients -->
 
234
 
235
 
236
 
 
237
  </div>
238
 
239
  <script>