Sha256: 01cb65232c658231bd20dfc7c3ee88c7d17958a26a47bff098ef48c6add1474c

Contents?: true

Size: 686 Bytes

Versions: 146

Compression:

Stored size: 686 Bytes

Contents

- url = product.new_record? ? products_path : product_path( product )
.products--form
  = form_for product do |f|

    .form-field
      %label Name
      = text_field_tag 'product[name]'

    -# .form-field
    -#   %label Price in cents
    -#   = text_field_tag 'price[amount_cents]'

    -# .form-field
    -#   %label Recurring?
    -#   = select_tag 'price[interval]', options_for_select(Wco::Price::INTERVALS)

    .form-field
      %label Stripe product_id
      -# = f.text_field :product_id
      = product.product_id

    -# .form-field
    -#   %label Stripe price_id
    -#   -# = f.text_field :price_id
    -#   = product.price_id

    .actions
      = f.submit 'Submit'

Version data entries

146 entries across 146 versions & 1 rubygems

Version Path
wco_models-3.1.0.164 app/views/wco/products/_form.haml
wco_models-3.1.0.163 app/views/wco/products/_form.haml
wco_models-3.1.0.162 app/views/wco/products/_form.haml
wco_models-3.1.0.161 app/views/wco/products/_form.haml
wco_models-3.1.0.155 app/views/wco/products/_form.haml
wco_models-3.1.0.154 app/views/wco/products/_form.haml
wco_models-3.1.0.153 app/views/wco/products/_form.haml
wco_models-3.1.0.152 app/views/wco/products/_form.haml
wco_models-3.1.0.151 app/views/wco/products/_form.haml
wco_models-3.1.0.150 app/views/wco/products/_form.haml
wco_models-3.1.0.149 app/views/wco/products/_form.haml
wco_models-3.1.0.148 app/views/wco/products/_form.haml
wco_models-3.1.0.147 app/views/wco/products/_form.haml
wco_models-3.1.0.146 app/views/wco/products/_form.haml
wco_models-3.1.0.145 app/views/wco/products/_form.haml
wco_models-3.1.0.144 app/views/wco/products/_form.haml
wco_models-3.1.0.143 app/views/wco/products/_form.haml
wco_models-3.1.0.142 app/views/wco/products/_form.haml
wco_models-3.1.0.141 app/views/wco/products/_form.haml
wco_models-3.1.0.140 app/views/wco/products/_form.haml