Sha256: 2d483b9647c7fc5ff6e8bbe74adb0ddf9862e550d62244f60d3dd150ad7a2ba9

Contents?: true

Size: 887 Bytes

Versions: 8

Compression:

Stored size: 887 Bytes

Contents

module C80Yax
  module Items
    module Shared
      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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
c80_yax-0.1.0.17 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.16 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.15 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.14 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.13 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.12 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.11 app/helpers/c80_yax/items/shared/buy_options_helper.rb
c80_yax-0.1.0.10 app/helpers/c80_yax/items/shared/buy_options_helper.rb