diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers/tags')
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/base.rb (renamed from actionpack/lib/action_view/helpers/tags/base_tag.rb) | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/label.rb (renamed from actionpack/lib/action_view/helpers/tags/label_tag.rb) | 2 | ||||
-rw-r--r-- | actionpack/lib/action_view/helpers/tags/text_field.rb (renamed from actionpack/lib/action_view/helpers/tags/text_field_tag.rb) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/tags/base_tag.rb b/actionpack/lib/action_view/helpers/tags/base.rb index b9cb5f1a93..24f66f764e 100644 --- a/actionpack/lib/action_view/helpers/tags/base_tag.rb +++ b/actionpack/lib/action_view/helpers/tags/base.rb @@ -1,7 +1,7 @@ module ActionView module Helpers module Tags - class BaseTag + class Base #:nodoc: include Helpers::ActiveModelInstanceTag, Helpers::TagHelper, Helpers::FormTagHelper DEFAULT_FIELD_OPTIONS = { "size" => 30 } diff --git a/actionpack/lib/action_view/helpers/tags/label_tag.rb b/actionpack/lib/action_view/helpers/tags/label.rb index 8a7b15de59..74ac92ee18 100644 --- a/actionpack/lib/action_view/helpers/tags/label_tag.rb +++ b/actionpack/lib/action_view/helpers/tags/label.rb @@ -1,7 +1,7 @@ module ActionView module Helpers module Tags - class LabelTag < BaseTag + class Label < Base #:nodoc: def initialize(object_name, method_name, template_object, content_or_options = nil, options = nil) content_is_options = content_or_options.is_a?(Hash) if content_is_options diff --git a/actionpack/lib/action_view/helpers/tags/text_field_tag.rb b/actionpack/lib/action_view/helpers/tags/text_field.rb index 1dee28203f..4e745061db 100644 --- a/actionpack/lib/action_view/helpers/tags/text_field_tag.rb +++ b/actionpack/lib/action_view/helpers/tags/text_field.rb @@ -1,7 +1,7 @@ module ActionView module Helpers module Tags - class TextFieldTag < BaseTag + class TextField < Base #:nodoc: def render options = @options.stringify_keys options["size"] = options["maxlength"] || DEFAULT_FIELD_OPTIONS["size"] unless options.key?("size") |