Module: Formtastic::Actions::Buttonish
- Defined in:
- lib/page_record/formtastic.rb
Instance Method Summary collapse
-
#extra_button_html_options ⇒ Object
This is a replacement method for the original
extra_button_html_options
method fromFormtastic
The only thing it does, is merge theaction_for
into the output. - #extra_button_html_options_org ⇒ Object
Instance Method Details
#extra_button_html_options ⇒ Object
This is a replacement method for the original extra_button_html_options
method from Formtastic
The only thing it does, is merge the action_for
into the output. The extra_button_html_options
is called
for all action methods
44 45 46 47 |
# File 'lib/page_record/formtastic.rb', line 44 def extend(PageRecord::Helpers) .merge(action_for(@method)) end |
#extra_button_html_options_org ⇒ Object
37 |
# File 'lib/page_record/formtastic.rb', line 37 alias_method :extra_button_html_options_org, :extra_button_html_options |