Sha256: 83f208972d64b30c3a038e08d7bf0927d670f538e0459fea1246530497c01231
Contents?: true
Size: 847 Bytes
Versions: 1
Compression:
Stored size: 847 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: 'button is-link is-small', form: "cart_item_serve_new_#{@cart_item_serve.serve_id}" %> <a class="ui mini grey button" onclick="removeForm()">取消</a> </td> </tr>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/views/trade/admin/carts/_new.html.erb |