Files

Class Index [+]

Quicksearch

Ubiquo::Helpers::ShowHelpers

Public Instance Methods

ubiquo_show_list(title, elements) click to toggle source

Returns an html list with the provided title, containing elements

    # File vendor/plugins/ubiquo_core/lib/ubiquo/helpers/show_helpers.rb, line 6
 6:       def ubiquo_show_list title, elements
 7:         html = content_tag(:dt, title)
 8:         html += content_tag(:dd) do
 9:           content_tag(:ul) do
10:             elements.map do |element|
11:               content_tag(:li, element)
12:             end.join
13:           end
14:         end
15:       end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.