Sha256: 5956bbf3ad148eb1e895deeb5843fee3301125591c463f322c5c01744b7a6f0f

Contents?: true

Size: 705 Bytes

Versions: 2

Compression:

Stored size: 705 Bytes

Contents

<tr id="serve_<%= serve_charge.serve_id %>">
  <td><%= serve_charge.item.name %></td>
  <td>
    <%= link_to new_admin_cart_item_cart_item_serve_path(@cart_item, serve_id: serve_charge.serve_id), remote: true do %>
      <div class="ui label" style="cursor: text"><%= serve_charge.subtotal %></div>
    <% end %>
  </td>
  <td>
    <% unless serve_charge.item.default %>
      <div class="ui slider checkbox" id="checkbox_<%= serve_charge.serve_id %>">
        <%= check_box_tag :serve_charge, serve_charge.id, true, data: { url: admin_cart_item_cart_item_serve_path(@cart_item, serve_charge.cart_item_serve&.id || @cart_item_serve.id) } %>
        <label></label>
      </div>
    <% end %>
  </td>
</tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_trade-0.0.2 app/views/trade/admin/cart_item_serves/_serve.html.erb
rails_trade-0.0.1 app/views/rails_trade_admin/cart_item_serves/_serve.html.erb