diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2012-05-16 18:10:39 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2012-05-16 18:10:39 +1000 |
commit | dd3ee84cd842a11be253e2fe2f29b45232fdb2c6 (patch) | |
tree | 2afe8aae5aa35e257619dd5cb303917c2257392e /guides/source | |
parent | 0c90bf058ac3f0c9d26e19e884c320655f520a94 (diff) | |
download | rails-dd3ee84cd842a11be253e2fe2f29b45232fdb2c6.tar.gz rails-dd3ee84cd842a11be253e2fe2f29b45232fdb2c6.tar.bz2 rails-dd3ee84cd842a11be253e2fe2f29b45232fdb2c6.zip |
[getting started] don't call it 'a _form partial', just 'a partial'
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/getting_started.textile | 2 |
1 files changed, 1 insertions, 1 deletions
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: |