标签: ruby-on-rails formtastic
我尝试了以下操作并收到错误:
11 = f.buttons, :label => "Create This"
答案 0 :(得分:4)
= f.buttons do = f.commit_button "Create This"
答案 1 :(得分:0)
Angela,在:标签调用之前删除逗号。希望有所帮助