method
time_zone_select
v1.0.0 -
Show latest stable
- Class:
ActionView::Helpers::FormOptionsHelper
time_zone_select(object, method, priority_zones = nil, options = {}, html_options = {})public
Return select and option tags for the given object and method, using #time_zone_options_for_select to generate the list of option tags.
In addition to the :include_blank option documented above, this method also supports a :model option, which defaults to TimeZone. This may be used by users to specify a different time zone model object. (See #time_zone_options_for_select for more information.)