Sha256: 452c4a6a939e19adcd4f1ffcbb184678641d2bf3646339d2602419197f06153b

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 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) 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

1 entries across 1 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/carts/_serve.html.erb