Sha256: 830d9d3a6c0a01a24b07c6137960f5ccca27b5b3506e28207382992c22a47916

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

module Wafflemix
  module Admin::SlidesHelper
    def slide_tree_view(slides)
      slides.map do |slide|
        content_tag(:li, :id => dom_id(slide)) do
          render(:partial => 'wafflemix/admin/slides/slide', :object => slide)
        end
      end.join.html_safe
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wafflemix-0.0.6 app/helpers/wafflemix/admin/slides_helper.rb
wafflemix-0.0.5 app/helpers/wafflemix/admin/slides_helper.rb
wafflemix-0.0.4 app/helpers/wafflemix/admin/slides_helper.rb
wafflemix-0.0.3 app/helpers/wafflemix/admin/slides_helper.rb
wafflemix-0.0.2 app/helpers/wafflemix/admin/slides_helper.rb
wafflemix-0.0.1 app/helpers/wafflemix/admin/slides_helper.rb