Skip to content

Commit

Permalink
buy button with price
Browse files Browse the repository at this point in the history
  • Loading branch information
lonewolf9277 committed Oct 26, 2023
1 parent f5f701d commit 4a50479
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/course.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
<p><%= course.shortDescription %></p>
<p><%= course.duration %> <%= course.durationType %></p>
<p><%= course.difficulty %></p>
<% if(course.price){ %>
<a href="#" class="btn btn-primary">Buy for $<%= course.price %></a>
<% } %>
</div>
</div>
</li>
Expand Down

0 comments on commit 4a50479

Please sign in to comment.