module Formtastic::Actions::Buttonish

Public Instance Methods

extra_button_html_options() click to toggle source

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

# File lib/page_record/formtastic.rb, line 44
def extra_button_html_options
  extend(PageRecord::Helpers)
  extra_button_html_options_org.merge(action_for(@method))
end
extra_button_html_options_org()