Sha256: 9e662850730f7cba71dcb0bd9b76425069d5b045270cdd0ebf0a03acedd62b97
Contents?: true
Size: 916 Bytes
Versions: 8
Compression:
Stored size: 916 Bytes
Contents
<tr id="<%= dom_id(f.object) %>" data-hook="admin_order_form_line_item_row"> <td width="300"> <%=f.object.variant.product.name%> <%= "(#{f.object.variant.options_text}))" unless f.object.variant.option_values.empty? %> </td> <td valign="top" class="price"><%= number_to_currency f.object.price %></td> <td valign="top" class="qty"><%= f.text_field :quantity, :style => "width:30px;", :class => "qty" %></td> <td valign="top" class="total"><%= number_to_currency (f.object.price * f.object.quantity) %></td> <td data-hook="admin_order_form_line_item_actions"> <%= link_to_delete f.object, {:url => admin_order_line_item_url(@order.number, f.object), :dataType => 'html', :success => "function(r){ $('#order-form-wrapper').html(r);}"}, :title => "admin_delete_#{dom_id(@order)}" %> </td> </tr>
Version data entries
8 entries across 8 versions & 1 rubygems