From 62c34f0df29e3c33a632f54e8bd1ae350a14c15f Mon Sep 17 00:00:00 2001 From: Michel Grootjans Date: Tue, 20 Nov 2012 14:18:05 +0100 Subject: bug in example '<%= form_for ...' should be '<% form_for ...' --- guides/source/engines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/engines.md b/guides/source/engines.md index f9bbff1c4c..caa2e53f52 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -341,7 +341,7 @@ Next, the partial that this line will render needs to exist. Create a new direct ```html+erb

New comment

-<%= form_for [@post, @post.comments.build] do |f| %> +<% form_for [@post, @post.comments.build] do |f| %>

<%= f.label :text %>
<%= f.text_area :text %> -- cgit v1.2.3