Sha256: ede56b396b1fa9ca4b919ae794d23d15a5732c74a9ec18f280dea543d936a2d5
Contents?: true
Size: 567 Bytes
Versions: 6
Compression:
Stored size: 567 Bytes
Contents
<table id="cart"> <thead> <tr> <th colspan="2"><%= t("item") %></th> <th><%= t("price") %></th> <th><%= t("qty") %></th> <th><%= t("total") %></th> </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>
Version data entries
6 entries across 6 versions & 2 rubygems