Search code examples
ruby-on-railsformtastic

How do I change the label of a button in formtastic in Rails 3?


I tried the following and got an error:

11     = f.buttons, :label => "Create This"

Solution

  • = f.buttons do
      = f.commit_button "Create This"