aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 13:21:52 +0100
committerJeroen van Dijk <jeroen@jeevidee.nl>2010-03-12 16:50:14 +0100
commite8d2f48cff858728280eef575e95c3b82ecd69d9 (patch)
tree9069b4c2d6d7ed06015e3805ea40012cd11abf88
parent04963f16c2ebcd6c247ac8b4c1d4849fcde2d44b (diff)
downloadrails-e8d2f48cff858728280eef575e95c3b82ecd69d9.tar.gz
rails-e8d2f48cff858728280eef575e95c3b82ecd69d9.tar.bz2
rails-e8d2f48cff858728280eef575e95c3b82ecd69d9.zip
Updated documentation for block helpers in record_tag_helper.rb
-rw-r--r--actionpack/lib/action_view/helpers/record_tag_helper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/record_tag_helper.rb b/actionpack/lib/action_view/helpers/record_tag_helper.rb
index 31411dc08a..a9cf15f418 100644
--- a/actionpack/lib/action_view/helpers/record_tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -4,7 +4,7 @@ module ActionView
# Produces a wrapper DIV element with id and class parameters that
# relate to the specified Active Record object. Usage example:
#
- # <% div_for(@person, :class => "foo") do %>
+ # <%= div_for(@person, :class => "foo") do %>
# <%=h @person.name %>
# <% end %>
#
@@ -19,7 +19,7 @@ module ActionView
# content_tag_for creates an HTML element with id and class parameters
# that relate to the specified Active Record object. For example:
#
- # <% content_tag_for(:tr, @person) do %>
+ # <%= content_tag_for(:tr, @person) do %>
# <td><%=h @person.first_name %></td>
# <td><%=h @person.last_name %></td>
# <% end %>
@@ -31,7 +31,7 @@ module ActionView
#
# If you require the HTML id attribute to have a prefix, you can specify it:
#
- # <% content_tag_for(:tr, @person, :foo) do %> ...
+ # <%= content_tag_for(:tr, @person, :foo) do %> ...
#
# produces:
#
@@ -41,7 +41,7 @@ module ActionView
# additional HTML attributes. If you specify a <tt>:class</tt> value, it will be combined
# with the default class name for your object. For example:
#
- # <% content_tag_for(:li, @person, :class => "bar") %>...
+ # <%= content_tag_for(:li, @person, :class => "bar") %>...
#
# produces:
#