Commit 480cc163 by Nguyen Quoc Kien

Fix format html #2

parent 3ab34a38
...@@ -28,4 +28,4 @@ ...@@ -28,4 +28,4 @@
<h1> Not found</h1> <h1> Not found</h1>
<% end %> <% end %>
</div> </div>
<%= will_paginate @products %> <div><%= will_paginate @products %></div>
\ No newline at end of file
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<td colspan="4"><h4><b>Cart: <%= cart_to_user.created_at %></b></h4></td> <td colspan="4"><h4><b>Cart: <%= cart_to_user.created_at %></b></h4></td>
</tr> </tr>
<% cart_products.each do |cart_product| %> <% cart_products.each do |cart_product| %>
<tbody>
<% product = Product.find(cart_product.product_id) %> <% product = Product.find(cart_product.product_id) %>
<tr> <tr>
<td><%= product.name %></td> <td><%= product.name %></td>
...@@ -52,5 +51,4 @@ ...@@ -52,5 +51,4 @@
<tr> <tr>
<td><%= link_to 'Back', :back, class: "btn btn-info" %></td> <td><%= link_to 'Back', :back, class: "btn btn-info" %></td>
</tr> </tr>
</tbody>
</table> </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