Sha256: 4af7de17c117c2111944d7e016c16317291366899f5d76ddc89c75436c2efb31
Contents?: true
Size: 782 Bytes
Versions: 50
Compression:
Stored size: 782 Bytes
Contents
- url = subscription.new_record? ? subscriptions_path : subscription_path(subscription) .subscriptions--form = form_for subscription, as: :subscription, url: url do |f| .input-group %label Product (price): = f.select :price_id, options_for_select(@price_ids_list, selected: subscription.price_id), {}, class: :select2 .input-group %label Quantity: = f.number_field :quantity .input-group %label Customer/Leadset = f.select :customer_id, options_for_select(@customer_ids_list, selected: params[:customer_id] || subscription.customer_id), {}, class: :select2 .input-group %label Create a stripe subscription? = check_box_tag :is_stripe .actions = f.submit 'Submit', data: { confirm: 'Are you sure?' }
Version data entries
50 entries across 50 versions & 1 rubygems