justinfrench/formtastic — Issue #807: undefined method actions
Author: wejrowski
Created: 2012-02-22 22:11:15+00:00
State: open

I'm trying to create a custom submit button with custom text. On the documentation it says do:

= f.actions do
= f.action :submit, :as => :button
= f.action :cancel, :as => :link
(haml)

..but I get undefined method error. I tried substituting actions for buttons and no luck.. only thing that works is f.buttons.. but I can't customize that.. or can I?