Sha256: 336867a12e3cc44e4a497bead36b6addc01cf7e6fc3c476509cd0d47706bddc1

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 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){ jQuery('#order-form-wrapper').html(r);}"},
                                  :title => "admin_delete_#{dom_id(@order)}" %>
  </td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/orders/_line_item.html.erb