Module: Formtastic::Actions::Buttonish

Included in:
ButtonAction, InputAction
Defined in:
lib/formtastic/actions/buttonish.rb

Instance Method Summary collapse

Instance Method Details

#extra_button_html_optionsObject


9
10
11
12
13
# File 'lib/formtastic/actions/buttonish.rb', line 9

def extra_button_html_options
  {
    :type => method
  }
end

#supported_methodsObject


5
6
7
# File 'lib/formtastic/actions/buttonish.rb', line 5

def supported_methods
  [:submit, :reset]
end