From b18585fb06a9eb9f5fa64e53594885f330167ad0 Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Sun, 2 Mar 2008 04:42:52 +0000 Subject: Fix syntax errors in the documentation for image submit tag. Closes #11073 [wharris] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/form_tag_helper.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index a536b5bf67..23b908ddc6 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -370,13 +370,13 @@ module ActionView # image_submit_tag("login.png") # # => # - # image_submit_tag("purchase.png"), :disabled => true + # image_submit_tag("purchase.png", :disabled => true) # # => # - # image_submit_tag("search.png"), :class => 'search-button' + # image_submit_tag("search.png", :class => 'search-button') # # => # - # image_submit_tag("agree.png"), :disabled => true, :class => "agree-disagree-button" + # image_submit_tag("agree.png", :disabled => true, :class => "agree-disagree-button") # # => def image_submit_tag(source, options = {}) tag :input, { "type" => "image", "src" => path_to_image(source) }.update(options.stringify_keys) -- cgit v1.2.3