Sha256: 7ddd6a57e5f91fc983a0b19e268b516c89b6333df6a851a6d574f092a5132920

Contents?: true

Size: 304 Bytes

Versions: 29

Compression:

Stored size: 304 Bytes

Contents

module Admin::ProductsHelper
  def option_type_select(so)
    select(:new_variant,
           so.option_type.presentation,
           so.option_type.option_values.collect {|ov| [ ov.presentation, ov.id ] })
  end

  def pv_tag_id(product_value)
    "product-property-value-#{product_value.id}"
  end
end

Version data entries

29 entries across 29 versions & 6 rubygems

Version Path
spree_core-0.60.2 app/helpers/admin/products_helper.rb
spree_core-0.70.0.rc2 app/helpers/admin/products_helper.rb
spree_core-0.70.RC1 app/helpers/admin/products_helper.rb
spree_core-0.60.1 app/helpers/admin/products_helper.rb
spree_core-0.60.0 app/helpers/admin/products_helper.rb
spree_core-0.60.0.RC1 app/helpers/admin/products_helper.rb
spree_core-0.50.2 app/helpers/admin/products_helper.rb
spree_core-0.50.1 app/helpers/admin/products_helper.rb
spree_core-0.50.0 app/helpers/admin/products_helper.rb