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 44defextra_button_html_optionsextend(PageRecord::Helpers)
extra_button_html_options_org.merge(action_for(@method))
end