class SimpleForm::FormBuilder
def button(type, *args, &block)
def button(type, *args, &block) options = args.extract_options!.dup options[:class] = [SimpleForm.button_class, options[:class]].compact args << options if respond_to?("#{type}_button") send("#{type}_button", *args, &block) else send(type, *args, &block) end end