Merge pull request #73 from jjb/patch-1

Fix haml/formtastic grammar in example
This commit is contained in:
Nathan Van der Auwera 2012-07-12 00:03:22 -07:00
commit 129f7e9836

View File

@ -96,7 +96,7 @@ We will show the sample usage with the different possible form-builders.
Inside our `projects/_form` partial we then write: Inside our `projects/_form` partial we then write:
````haml ````haml
- f.inputs do = f.inputs do
= f.input :name = f.input :name
= f.input :description = f.input :description
%h3 Tasks %h3 Tasks
@ -105,7 +105,7 @@ 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.actions do = f.actions do
= f.action :submit = f.action :submit
```` ````