From dd3ee84cd842a11be253e2fe2f29b45232fdb2c6 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 16 May 2012 18:10:39 +1000 Subject: [getting started] don't call it 'a _form partial', just 'a partial' --- guides/source/getting_started.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/getting_started.textile') diff --git a/guides/source/getting_started.textile b/guides/source/getting_started.textile index 3106c2ffa2..0456abebb7 100644 --- a/guides/source/getting_started.textile +++ b/guides/source/getting_started.textile @@ -943,7 +943,7 @@ Rails":layouts_and_rendering.html guide. Our +edit+ action looks very similar to the +new+ action, in fact they both share the same code for displaying the form. Lets clean them up by -using a +_form+ partial. +using a partial. Create a new file +app/views/posts/_form.html.erb+ with the following content: -- cgit v1.2.3