Sha256: 8680b70f54c310b3fdca3655212fe144f07396151fac2ba3b0b4560b8bccab51
Contents?: true
Size: 534 Bytes
Versions: 83
Compression:
Stored size: 534 Bytes
Contents
-# - url = price.new_record? ? prices_path : price_path( price ) .prices--form = form_for price, as: :price, html: { class: 'flex-row' } do |f| = hidden_field_tag 'price[product_id]', price.product_id = hidden_field_tag 'price[product_type]', price.product_type .field %label amount cents = f.number_field :amount_cents .field %label interval = f.select :interval, options_for_select( Wco::Price::INTERVALS, selected: price.interval ), class: 'select2' .actions = f.submit '>'
Version data entries
83 entries across 83 versions & 1 rubygems