# File lib/simple_form/form_builder.rb, line 193 def button(type, *args, &block) options = args.extract_options! options[:class] = "button #{options[:class]}".strip args << options if respond_to?("#{type}_button") send("#{type}_button", *args, &block) else send(type, *args, &block) end end