Sha256: ded8f4ef9f68e6c59bf41fd39e8abc82731b798b6dba46b3cb30055c1597a5fd

Contents?: true

Size: 430 Bytes

Versions: 7

Compression:

Stored size: 430 Bytes

Contents

module C80Yax
  module Items
    module Shared
      module ColorSelectorHelper

        def render_color_selector(item)
          colors = item.colors
          unless colors.size.zero?
            render :partial => 'c80_yax/items/color_selector',
                   :locals => {
                       colors: colors,
                       item: item
                   }
          end
        end

      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.24 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.23 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.22 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.21 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.20 app/helpers/c80_yax/items/shared/color_selector_helper.rb
c80_yax-0.1.0.18 app/helpers/c80_yax/items/shared/color_selector_helper.rb