Sha256: ef7d2c8caf06e921b7ddb56acb33350b6f3b6db3a5f5ca2865fcc767ff592288

Contents?: true

Size: 810 Bytes

Versions: 8

Compression:

Stored size: 810 Bytes

Contents

module C80Yax
  module Items
    module BuyOptionsHelper

      def render_buy_options

        elems = [
            {
                label: 'Нестандартные цвета<br>(+20% к стоимости)',
                value: '1',
                style: 'small'
            },
            {
                label: 'Цвета с металлическим блеском<br>(+20% к стоимости)',
                value: '2',
                style: 'small'
            },
            {
                label: 'Заказать доставку',
                value: '3',
                style: 'huge'
            }
        ]

        render :partial => 'c80_yax/items/buy_options',
               :locals => {
                   elems: elems
               }
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
c80_yax-0.1.0.9 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.8 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.7 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.6 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.5 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.4 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.3 app/helpers/c80_yax/items/buy_options_helper.rb
c80_yax-0.1.0.2 app/helpers/c80_yax/items/buy_options_helper.rb