aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tag_helper.rb
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-10-24 03:06:57 +0000
committerRick Olson <technoweenie@gmail.com>2006-10-24 03:06:57 +0000
commitf7c916ece661ac0d5936ca47f83ebfbf4852a8bb (patch)
tree98616b4ae6871bc0a64d4a56bcc21c399884c321 /actionpack/lib/action_view/helpers/tag_helper.rb
parente407b44ba14e5ab72f25ca107291e7a4d51051b8 (diff)
downloadrails-f7c916ece661ac0d5936ca47f83ebfbf4852a8bb.tar.gz
rails-f7c916ece661ac0d5936ca47f83ebfbf4852a8bb.tar.bz2
rails-f7c916ece661ac0d5936ca47f83ebfbf4852a8bb.zip
Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 8b8c7b491c..219888adb5 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -20,9 +20,9 @@ module ActionView
# <tt><div class="strong"><p>Hello world!</p></div></tt>
#
# ERb example:
- # <% content_tag :div, :class => "strong" %>
+ # <% content_tag :div, :class => "strong" do -%>
# Hello world!
- # <% end %>
+ # <% end -%>
#
# Will output:
# <div class="strong"><p>Hello world!</p></div>