<%= error_messages_for :order  %>
<table id="cart">
  <thead>
    <tr>
      <% hook :cart_items_headers do %>
        <th colspan="2"><%= t("item") %></th>
        <th><%= t("price") %></th>
        <th><%= t("qty") %></th>
        <th><%= t("total") %></th>
      <% end %>
    </tr>
  </thead>
  <tbody id="line_items">
    <% order_form.fields_for :line_items do |item_form| %>
      <%= render 'line_item', :variant => item_form.object.variant, :line_item => item_form.object, :item_form => item_form %>
    <% end %>

    <tr id="none">
      <td colspan="5"><%= @order.line_items.empty? ? t("your_cart_is_empty.") : "" %></td>
    </tr>
  </tbody>
</table>

<%= error_messages_for :order  %>
<table id="cart-detail">
  <thead>
    <tr>
      <% hook :cart_items_headers do %>
        <th colspan="2"><%= t("item") %></th>
        <th><%= t("price") %></th>
        <th><%= t("qty") %></th>
        <th><%= t("total") %></th>
      <% end %>
    </tr>
  </thead>
  <tbody id="line_items">
    <% order_form.fields_for :line_items do |item_form| %>
      <%= render 'line_item', :variant => item_form.object.variant, :line_item => item_form.object, :item_form => item_form %>
    <% end %>

    <tr id="none">
      <td colspan="5"><%= @order.line_items.empty? ? t("your_cart_is_empty.") : "" %></td>
    </tr>
  </tbody>
</table>

Remove ID duplication in order _form patial
Remove ID duplication in order _form patial

[#798 state:resolved]
