Sha256: 067b025fcb4a68081f13086670b968a9a03d0e42b75c2bd9c7db585ad102ed45
Contents?: true
Size: 942 Bytes
Versions: 9
Compression:
Stored size: 942 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);}"} %> <% end %> </td> </tr>
Version data entries
9 entries across 9 versions & 1 rubygems