public Method

InstanceTag.to_time_zone_select_tag(priority_zones, options, html_options)

There's no documentation for this item.

Source Code

# File action_view/helpers/form_options_helper.rb, line 393
def to_time_zone_select_tag(priority_zones, options, html_options)
  html_options = html_options.stringify_keys
  add_default_name_and_id(html_options)
  value = value(object)
  content_tag("select",
    add_options(
      time_zone_options_for_select(value || options[:default], priority_zones, options[:model] || TimeZone),
      options, value
    ), html_options
  )
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.