Swathi6 commited on
Commit
e04828c
·
verified ·
1 Parent(s): 1dc17c7

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +1 -1
templates/menu.html CHANGED
@@ -115,7 +115,7 @@
115
  <!-- Image with video URL -->
116
  <img src="{{ item.Image1__c }}" class="card-img-top menu-image" alt="{{ item.Name }}"
117
  data-video-url="{{ item.Video_Url__c }}"
118
- onerror="this.src='https://via.placeholder.com/300x200.jpg?text=Image+Not+Available';">
119
  <div class="card-body">
120
  <h5 class="card-title">{{ item.Name }}</h5>
121
  <p class="card-text">${{ item.Price__c }}</p>
 
115
  <!-- Image with video URL -->
116
  <img src="{{ item.Image1__c }}" class="card-img-top menu-image" alt="{{ item.Name }}"
117
  data-video-url="{{ item.Video_Url__c }}"
118
+ onerror="this.src='https://via.placeholder.com/300x200.jpg?text=Image+Not+Available';" onclick="showVideo('{{ item.Video_Url__c }}')">
119
  <div class="card-body">
120
  <h5 class="card-title">{{ item.Name }}</h5>
121
  <p class="card-text">${{ item.Price__c }}</p>