ActionView::Helpers::FormOptionsHelper
time_zone_select
API docs (Rails 8.1.4.1) ↗def time_zone_select(object, method, priority_zones = nil, options = {}, html_options = {})
Description
Creates a time zone <select> bound to a model attribute.
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