app/helpers/dropdown_helper.rb
def dropdown(content=nil, list=[], options={})
    return if content.blank? || list.empty?

    DropdownCreator.new(content, list, options).render
  end
# TODO: support split button dropdowns; use blocks to add list items
support split button dropdowns; use blocks to add list items
support split button dropdowns ; use blocks to add list items
def dropdown(content=nil, list=[], options={})
    return if content.blank? || list.empty?
    DropdownCreator.new(content, list, options).render
  end
def dropdown ( content = nil , list = [ ] , options = { } ) return if content . blank? || list . empty? DropdownCreator . new ( content , list , options ) . render end
TODO: support split button dropdowns; use blocks to add list items
TODO : support split button dropdowns ; use blocks to add list items
content
list
options