Commit 480cc163 by Nguyen Quoc Kien

Fix format html #2

parent 3ab34a38
......@@ -28,4 +28,4 @@
<h1> Not found</h1>
<% end %>
</div>
<%= will_paginate @products %>
\ No newline at end of file
<div><%= will_paginate @products %></div>
......@@ -15,7 +15,6 @@
<td colspan="4"><h4><b>Cart: <%= cart_to_user.created_at %></b></h4></td>
</tr>
<% cart_products.each do |cart_product| %>
<tbody>
<% product = Product.find(cart_product.product_id) %>
<tr>
<td><%= product.name %></td>
......@@ -52,5 +51,4 @@
<tr>
<td><%= link_to 'Back', :back, class: "btn btn-info" %></td>
</tr>
</tbody>
</table>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment