diff options
author | Dan Pickett <dpickett@enlightsolutions.com> | 2012-01-15 15:08:01 -0500 |
---|---|---|
committer | Dan Pickett <dpickett@enlightsolutions.com> | 2012-01-15 15:08:01 -0500 |
commit | 3cf22c8ab5294a332c6f4e20174c50165265f1d1 (patch) | |
tree | c6938dec648c0dae48b29852bcb3348edc8bb7a2 /railties | |
parent | 2d76d1f4752c18cd6c72c42fedb07219d68a88c4 (diff) | |
download | rails-3cf22c8ab5294a332c6f4e20174c50165265f1d1.tar.gz rails-3cf22c8ab5294a332c6f4e20174c50165265f1d1.tar.bz2 rails-3cf22c8ab5294a332c6f4e20174c50165265f1d1.zip |
change class to id per scaffold change
#4472
Diffstat (limited to 'railties')
-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 4a0b6959fb..084ea6780d 100644 --- a/railties/guides/source/getting_started.textile +++ b/railties/guides/source/getting_started.textile @@ -1014,7 +1014,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> @@ -1281,7 +1281,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> @@ -1347,7 +1347,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> @@ -1429,7 +1429,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> @@ -1500,7 +1500,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> @@ -1771,7 +1771,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> @@ -1831,7 +1831,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> |