From 033a5148eb03a6b4a3441cdf0c4cbda357c6d702 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 30 Nov 2006 22:01:58 +0000 Subject: Premature commit git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/form_helper.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'actionpack/lib/action_view/helpers/form_helper.rb') diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 8d89f74c3b..8aa0b42fe1 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -223,11 +223,6 @@ module ActionView def radio_button(object_name, method, tag_value, options = {}) InstanceTag.new(object_name, method, self, nil, options.delete(:object)).to_radio_button_tag(tag_value, options) end - - - def label(object_name, method, options = {}) - InstanceTag.new(object_name, method, self, nil, options.delete(:object)).to_label_tag(options) - end end class InstanceTag #:nodoc: @@ -333,10 +328,6 @@ module ActionView tag_text << ">True" end - def to_label_tag(options = {}) - label_tag(options.delete(:text) || value(object).humanize, options.reverse_merge(:for => tag_id)) - end - def to_content_tag(tag_name, options = {}) content_tag(tag_name, value(object), options) end -- cgit v1.2.3