lib/generators/dry_crud/templates/app/helpers/standard_helper.rb
# Renders a simple unordered list, which will
# simply render all passed items or yield them
# to your block.
Renders a simple unordered list, which will
simply render all passed items or yield them
to your block.
Renders a simple unordered list which will simply render all passed items or yield them to your block .
def simple_list(items,ul_options={},&blk)
    content_tag_nested(:ul, items, ul_options) do |item|
      content_tag(:li, block_given? ? yield(item) : f(item))
    end
  end
def simple_list ( items , ul_options = { } , & blk ) content_tag_nested ( :ul , items , ul_options ) do | item | content_tag ( :li , block_given? ? yield ( item ) : f ( item ) ) end end
Renders a simple unordered list, which will
simply render all passed items or yield them
to your block.
Renders a simple unordered list which will simply render all passed items or yield them to your block .
items
ul_options
blk