From 949b3e743f9a2ff5935bb32a247d5df70586886a Mon Sep 17 00:00:00 2001 From: Alexey Vakhov Date: Sun, 6 Nov 2011 11:46:28 +0400 Subject: Docs cosmetic fixes in Action View form_helper.rb --- actionpack/lib/action_view/helpers/form_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_view') diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 5c10b67586..f148ffbd73 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -649,7 +649,7 @@ module ActionView # # => # # label(:post, :terms) do - # 'Accept Terms.' + # 'Accept Terms.'.html_safe # end def label(object_name, method, content_or_options = nil, options = nil, &block) content_is_options = content_or_options.is_a?(Hash) @@ -738,7 +738,7 @@ module ActionView # # => # # file_field(:post, :attached, :accept => 'text/html') - # # => + # # => # # file_field(:attachment, :file, :class => 'file_input') # # => -- cgit v1.2.3