Module: TwitterBootstrapBuilder::Helpers::DropdownsHelper

Defined in:
lib/twitter_bootstrap_builder/helpers/dropdowns_helper.rb

Instance Method Summary collapse

Instance Method Details



9
10
11
# File 'lib/twitter_bootstrap_builder/helpers/dropdowns_helper.rb', line 9

def dropdown_button(text, &block)
  Builders::DropDownButtonBuilder.new(self, text: text, &block).html_safe
end


5
6
7
# File 'lib/twitter_bootstrap_builder/helpers/dropdowns_helper.rb', line 5

def dropdown_link(text, &block)
  Builders::DropDownLinkBuilder.new(self, text: text, &block).html_safe
end