Sha256: abe9f475392cd287bcc0f8dd0ed94fdbf3b21c8cb7e4f0a58d9ba07802a16239

Contents?: true

Size: 844 Bytes

Versions: 2

Compression:

Stored size: 844 Bytes

Contents

<tr id="serve_<%= @cart_item_serve.serve_id %>">
  <td>
    <%= form_with model: @cart_item_serve, url: admin_cart_item_cart_item_serves_path(@cart_item), method: :post, id: "cart_item_serve_new_#{@cart_item_serve.serve_id}" %>
    <%= @cart_item_serve.serve.name %>
  </td>
  <td>
    <%= text_field_tag 'cart_item_serve[price]', @cart_item_serve.price, class: 'three wide field', placeholder: @serve_charge.default_subtotal, form: "cart_item_serve_new_#{@cart_item_serve.serve_id}" %>
    <%= hidden_field_tag 'cart_item_serve[serve_id]', @cart_item_serve.serve_id, form: "cart_item_serve_new_#{@cart_item_serve.serve_id}" %>
  </td>
  <td>
    <%= submit_tag 'Save', class: 'ui mini green button', form: "cart_item_serve_new_#{@cart_item_serve.serve_id}" %>
    <a class="ui mini grey button" onclick="removeForm()">取消</a>
  </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/_new.html.erb
rails_trade-0.0.1 app/views/rails_trade_admin/cart_item_serves/_new.html.erb