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"
= f.buttons do
= f.commit_button "Create This"
Angela, remove the comma before the :label call. Hope that helps
精彩评论