Sha256: ea5040c09b617d0ad15a5a9454c7ba14e6fd3981c2f703dce8ddcab34e7d6866

Contents?: true

Size: 220 Bytes

Versions: 5

Compression:

Stored size: 220 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
railscart-0.0.4 starter_app/vendor/plugins/railscart/app/helpers/admin/products_helper.rb
railscart-0.0.3 starter_app/vendor/plugins/railscart/app/helpers/admin/products_helper.rb
spree-0.0.5 starter-app/vendor/plugins/spree/app/helpers/admin/products_helper.rb
spree-0.0.6 starter-app/vendor/plugins/spree/app/helpers/admin/products_helper.rb
spree-0.0.7 starter-app/vendor/plugins/spree/app/helpers/admin/products_helper.rb