|
|
|
@@ -0,0 +1,14 @@ |
|
|
|
<p id="notice"><%= notice %></p> |
|
|
|
|
|
|
|
<h1>Your Pragmatic Catalog</h1> |
|
|
|
|
|
|
|
<% @products.each do |product| %> |
|
|
|
<div class="entry"> |
|
|
|
<%= image_tag(product.image_url) %> |
|
|
|
<h3><%= product.title %></h3> |
|
|
|
<%= sanitize(product.description) %> |
|
|
|
<div class="price_line"> |
|
|
|
<span class="price"><%= product.price %></span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<% end %> |