diff options
author | Dan Pickett <dpickett@enlightsolutions.com> | 2012-01-15 15:08:01 -0500 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-16 22:07:36 +0530 |
commit | 951d70dbe07e0e7fbe36e98e9c3a136475ca3994 (patch) | |
tree | 9487fe477f9638226e832ab0e9402e534201898d /railties/guides | |
parent | 7b8e6d52a81c604be7ce071f3e5c40b2ec0d93ac (diff) | |
download | rails-951d70dbe07e0e7fbe36e98e9c3a136475ca3994.tar.gz rails-951d70dbe07e0e7fbe36e98e9c3a136475ca3994.tar.bz2 rails-951d70dbe07e0e7fbe36e98e9c3a136475ca3994.zip |
change class to id per scaffold change
#4472
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/getting_started.textile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/railties/guides/source/getting_started.textile b/railties/guides/source/getting_started.textile index c2ac5743e3..c3141c4435 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1017,7 +1017,7 @@ by its id value. After finding the record, Rails displays it by using +app/views/posts/show.html.erb+: <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1284,7 +1284,7 @@ So first, we'll wire up the Post show template (+/app/views/posts/show.html.erb+) to let us make a new comment: <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1350,7 +1350,7 @@ template. This is where we want the comment to show, so let's add that to the +app/views/posts/show.html.erb+. <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1432,7 +1432,7 @@ Then you can change +app/views/posts/show.html.erb+ to look like the following: <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1503,7 +1503,7 @@ create a file +app/views/comments/_form.html.erb+ containing: Then you make the +app/views/posts/show.html.erb+ look like the following: <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1774,7 +1774,7 @@ Finally, we will edit the <tt>app/views/posts/show.html.erb</tt> template to show our tags. <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> @@ -1834,7 +1834,7 @@ Now you can edit the view in <tt>app/views/posts/show.html.erb</tt> to look like this: <erb> -<p class="notice"><%= notice %></p> +<p id="notice"><%= notice %></p> <p> <b>Name:</b> |