mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Updated documentation for block helpers in tag_helper.rb
This commit is contained in:
@@ -62,7 +62,7 @@ module ActionView
|
||||
# content_tag("select", options, :multiple => true)
|
||||
# # => <select multiple="multiple">...options...</select>
|
||||
#
|
||||
# <% content_tag :div, :class => "strong" do -%>
|
||||
# <%= content_tag :div, :class => "strong" do -%>
|
||||
# Hello world!
|
||||
# <% end -%>
|
||||
# # => <div class="strong">Hello world!</div>
|
||||
|
||||
Reference in New Issue
Block a user