-
-
Save shankardevy/e3f9dc3c0a3d3cde517439c5a73aff4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 class="page-title"><%= title_case @name %></h1> | |
<div> | |
<%= for product <- @products do %> | |
<div class="product"> | |
<div class="product-name"><%= product.name %></div> | |
<div>₹ <span class="product-price"><%= product.price %></span></div> | |
</div> | |
<% end %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Where does the
title_case
function come from?