fixed formtastic deprecation

This commit is contained in:
Michael Koper 2012-04-20 14:07:43 +02:00
parent f546a9961b
commit 480eb8a3fb

View File

@ -105,8 +105,8 @@ Inside our `projects/_form` partial we then write:
= render 'task_fields', :f => task
.links
= link_to_add_association 'add task', f, :tasks
-f.buttons do
= f.submit 'Save'
-f.actions do
= f.action :submit
````
and inside the `_task_fields` partial we write: