Merge pull request #58 from michaelkoper/master

Fixed formtastic deprecation in readme.
This commit is contained in:
Nathan Van der Auwera 2012-04-20 13:25:26 -07:00
commit 251d326f31

View File

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