From 4cd7c4e8cef756412cb088b959569c06ba25817b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Andr=C3=A9s?= Date: Wed, 28 Dec 2011 15:41:33 +0100 Subject: Fixed formatting of code examples in form_tag_helper.rb --- actionpack/lib/action_view/helpers/form_tag_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 1424a3584d..fb89641a16 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -407,7 +407,7 @@ module ActionView # # submit_tag "Save", :confirm => "Are you sure?" # # => + # # data-confirm="Are you sure?" /> # def submit_tag(value = "Save changes", options = {}) options = options.stringify_keys @@ -451,12 +451,12 @@ module ActionView # content_tag(:strong, 'Ask me!') # end # # => + # # Ask me! + # # # # button_tag "Checkout", :disable_with => "Please wait..." # # => + # # type="submit">Checkout # def button_tag(content_or_options = nil, options = nil, &block) options = content_or_options if block_given? && content_or_options.is_a?(Hash) -- cgit v1.2.3