Commit 3ab34a38 by Nguyen Quoc Kien

Fix format html

parent 79799b81
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
<td colspan="4"><h4><b>Cart <%= cart.id %>: <%= cart.created_at.to_formatted_s(:long_ordinal) %></b></h4></td> <td colspan="4"><h4><b>Cart <%= cart.id %>: <%= cart.created_at.to_formatted_s(:long_ordinal) %></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>
...@@ -59,5 +58,4 @@ ...@@ -59,5 +58,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>
...@@ -15,7 +15,6 @@ ...@@ -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> <td colspan="4"><h4><b>Cart <%= cart_to_user.id %>: <%= cart_to_user.created_at.to_formatted_s(:long_ordinal) %></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>
...@@ -59,5 +58,4 @@ ...@@ -59,5 +58,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>
<% provide(:title, "Order") %> <% provide(:title, "Order") %>
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-6 col-md-offset-3">
<h1>Đăng ký thông tin nhận hàng</h1> <h1>Đăng ký thông tin nhận hàng</h1>
......
...@@ -41,5 +41,4 @@ ...@@ -41,5 +41,4 @@
<% else %> <% else %>
<h1>Cart Empty</h1> <h1>Cart Empty</h1>
<% end %> <% end %>
</table> </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