From 67de0af60485b4da45d015e9a1dfad5439d5fca2 Mon Sep 17 00:00:00 2001 From: Jeroen van Dijk Date: Fri, 12 Mar 2010 13:25:56 +0100 Subject: Updated documentation for block helpers in form_tag_helper.rb --- actionpack/lib/action_view/helpers/form_tag_helper.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionpack/lib/action_view/helpers/form_tag_helper.rb') 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 %> # # =>

-- cgit v1.2.3