ActionView::Helpers::FormOptionsHelper
time_zone_options_for_select
API docs (Rails 8.1.4.1) ↗def time_zone_options_for_select(selected = nil, priority_zones = nil, model = ::ActiveSupport::TimeZone)
Description
Creates <option> elements for time zones.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Interacting with the preview updates the form submission.
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params