aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/getting_started.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-06-02 01:35:43 +0200
committerXavier Noria <fxn@hashref.com>2010-06-02 01:35:43 +0200
commitfdd203f964e31fd81a16be8f68462a64a17b0d92 (patch)
treee2b203278af8849d91e00ba2cebe18b8dae0bf15 /railties/guides/source/getting_started.textile
parent315e8952dfbaecd4d5175ea4d0fd95611cad9e01 (diff)
parent158473f0d113f0c0b02ba9b7353c10949172a1f7 (diff)
downloadrails-fdd203f964e31fd81a16be8f68462a64a17b0d92.tar.gz
rails-fdd203f964e31fd81a16be8f68462a64a17b0d92.tar.bz2
rails-fdd203f964e31fd81a16be8f68462a64a17b0d92.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'railties/guides/source/getting_started.textile')
-rw-r--r--railties/guides/source/getting_started.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile
index fe623e969f..46e709d0f5 100644
--- a/railties/guides/source/getting_started.textile
+++ b/railties/guides/source/getting_started.textile
@@ -1342,7 +1342,7 @@ We also add a <tt>@post.tags.build</tt> at the top of this form, this is to make
Now create the folder <tt>app/views/tags</tt> and make a file in there called <tt>_form.html.erb</tt> which contains the form for the tag:
<erb>
-<% form.fields_for :tags do |tag_form| %>
+<%= form.fields_for :tags do |tag_form| %>
<div class="field">
<%= tag_form.label :name, 'Tag:' %>
<%= tag_form.text_field :name %>