Module: TwitterBootstrapBuilder::Helpers::ButtonsHelper

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

Instance Method Summary collapse

Instance Method Details



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

def link_button_to(*args, &block)
  Builders::LinkButtonBuilder.new(self, args: args, &block).html_safe
end

#submit_button(*args, &block) ⇒ Object



27
28
29
# File 'lib/twitter_bootstrap_builder/helpers/buttons_helper.rb', line 27

def submit_button(*args, &block)
  Builders::SubmitButtonBuilder.new(self, args: args, &block).html_safe
end