Skip to content

Commit

Permalink
buy button with price (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artlfmj authored Oct 27, 2023
2 parents f5f701d + 4a50479 commit a670215
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 a670215

Please sign in to comment.