Sha256: 2c59016b829ec7d1744f619cda6a51852f4d07e48f7763346259180325805a4d
Contents?: true
Size: 1020 Bytes
Versions: 19
Compression:
Stored size: 1020 Bytes
Contents
<tr id="<%= dom_id(f.object) %>"> <%- locals = {:f => f} %> <%= hook :admin_order_form_line_item_row, locals do %> <td width="300"><%=f.object.variant.product.name%> <%= "(" + variant_options(f.object.variant) + ")" 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> <% end %> <td> <%= hook :admin_order_form_line_item_actions, locals do %> <%= 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)}" %> <% end %> </td> </tr>
Version data entries
19 entries across 19 versions & 6 rubygems