You can clone with
HTTPS or Subversion.
I am getting a Formtastic::UnknownActionError whenever I use this code:
= f.actions :save, :submit
= f.actions do
= f.action :save
= f.action :submit
However my I18n file has those actions:
hello: "Hello world"
save: "Save & Return Later"
submit: "Submit to CTSI for review"
The former f.buttons format worked perfectly.
Hi, the valid actions are submit, cancel and reset. These are what you should use in the form to avoid this error. Und the hood, submit uses both the submit (fallback), save (edits) and create (new records) i18n keys.