From 480eb8a3fb0ba52fec3a0c2413204bad88b2b56f Mon Sep 17 00:00:00 2001 From: Michael Koper Date: Fri, 20 Apr 2012 14:07:43 +0200 Subject: [PATCH] fixed formtastic deprecation --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 3811e15..8ba4ac5 100644 --- a/README.markdown +++ b/README.markdown @@ -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: