diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 6ed6c3101b..9d76870646 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -32,12 +32,12 @@ module ActionView # form_tag('/upload', :multipart => true) # # =>
# - # <% form_tag('/posts')do -%> + # <%= form_tag('/posts')do -%> #
<%= submit_tag 'Save' %>
# <% end -%> # # =>
# - # <% form_tag('/posts', :remote => true) %> + # <%= form_tag('/posts', :remote => true) %> # # =>
# def form_tag(url_for_options = {}, options = {}, *parameters_for_url, &block) @@ -425,17 +425,17 @@ module ActionView # options accept the same values as tag. # # ==== Examples - # <% field_set_tag do %> + # <%= field_set_tag do %> #

<%= text_field_tag 'name' %>

# <% end %> # # =>

# - # <% field_set_tag 'Your details' do %> + # <%= field_set_tag 'Your details' do %> #

<%= text_field_tag 'name' %>

# <% end %> # # =>
Your details

# - # <% field_set_tag nil, :class => 'format' do %> + # <%= field_set_tag nil, :class => 'format' do %> #

<%= text_field_tag 'name' %>

# <% end %> # # =>