Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4612 from rafaelfranca/av-refactor
Some improvements on ActionView::Helpers::Tags
- Loading branch information
Showing
6 changed files
with
53 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
module ActionView | ||
module Helpers | ||
module Tags | ||
autoload :Base, 'action_view/helpers/tags/base' | ||
autoload :Label, 'action_view/helpers/tags/label' | ||
autoload :TextField, 'action_view/helpers/tags/text_field' | ||
autoload :PasswordField, 'action_view/helpers/tags/password_field' | ||
autoload :HiddenField, 'action_view/helpers/tags/hidden_field' | ||
autoload :FileField, 'action_view/helpers/tags/file_field' | ||
autoload :SearchField, 'action_view/helpers/tags/search_field' | ||
autoload :TelField, 'action_view/helpers/tags/tel_field' | ||
autoload :UrlField, 'action_view/helpers/tags/url_field' | ||
autoload :EmailField, 'action_view/helpers/tags/email_field' | ||
autoload :NumberField, 'action_view/helpers/tags/number_field' | ||
autoload :RangeField, 'action_view/helpers/tags/range_field' | ||
autoload :TextArea, 'action_view/helpers/tags/text_area' | ||
autoload :CheckBox, 'action_view/helpers/tags/check_box' | ||
autoload :RadioButton, 'action_view/helpers/tags/radio_button' | ||
autoload :Select, 'action_view/helpers/tags/select' | ||
autoload :CollectionSelect, 'action_view/helpers/tags/collection_select' | ||
autoload :GroupedCollectionSelect, 'action_view/helpers/tags/grouped_collection_select' | ||
autoload :TimeZoneSelect, 'action_view/helpers/tags/time_zone_select' | ||
autoload :DateSelect, 'action_view/helpers/tags/date_select' | ||
autoload :TimeSelect, 'action_view/helpers/tags/time_select' | ||
autoload :DatetimeSelect, 'action_view/helpers/tags/datetime_select' | ||
module Tags #:nodoc: | ||
extend ActiveSupport::Autoload | ||
|
||
autoload :Base | ||
autoload :Label | ||
autoload :TextField | ||
autoload :PasswordField | ||
autoload :HiddenField | ||
autoload :FileField | ||
autoload :SearchField | ||
autoload :TelField | ||
autoload :UrlField | ||
autoload :EmailField | ||
autoload :NumberField | ||
autoload :RangeField | ||
autoload :TextArea | ||
autoload :CheckBox | ||
autoload :RadioButton | ||
autoload :Select | ||
autoload :CollectionSelect | ||
autoload :GroupedCollectionSelect | ||
autoload :TimeZoneSelect | ||
autoload :DateSelect | ||
autoload :TimeSelect | ||
autoload :DatetimeSelect | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters