gregbell/active_admin — Issue #998: Some form_builder methods could not be used in my form?
Author: panSarin
Created: 2012-02-10 11:25:00+00:00
State: open

in active_admin/lib/active_admin/form_builder.rb i see

'''commit_button_with_cancel_link
cancel_link
commit_button '''
methods
If i use

f.commit_button in my form

'''
=semantic_form_for [:admin, @resource] do |f|
= f.input :some_field
= f.commit_button
'''
It works, but when i use commit_button_with_cancel_link , or cancel link i have "undefined method `cancel_link' for #" error.

What is going on ?