Commit 3ab34a38 by Nguyen Quoc Kien

Fix format html

parent 79799b81
......@@ -15,7 +15,6 @@
<td colspan="4"><h4><b>Cart <%= cart.id %>: <%= cart.created_at.to_formatted_s(:long_ordinal) %></b></h4></td>
</tr>
<% cart_products.each do |cart_product| %>
<tbody>
<% product = Product.find(cart_product.product_id) %>
<tr>
<td><%= product.name %></td>
......@@ -59,5 +58,4 @@
<tr>
<td><%= link_to 'Back', :back, class: "btn btn-info" %></td>
</tr>
</tbody>
</table>
......@@ -15,7 +15,6 @@
<td colspan="4"><h4><b>Cart <%= cart_to_user.id %>: <%= cart_to_user.created_at.to_formatted_s(:long_ordinal) %></b></h4></td>
</tr>
<% cart_products.each do |cart_product| %>
<tbody>
<% product = Product.find(cart_product.product_id) %>
<tr>
<td><%= product.name %></td>
......@@ -59,5 +58,4 @@
<tr>
<td><%= link_to 'Back', :back, class: "btn btn-info" %></td>
</tr>
</tbody>
</table>
<% provide(:title, "Order") %>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1>Đăng ký thông tin nhận hàng</h1>
......
......@@ -41,5 +41,4 @@
<% else %>
<h1>Cart Empty</h1>
<% end %>
</table>
\ No newline at end of file
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