Flowdock
method

time_zone_select

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionView::Helpers::FormBuilder
time_zone_select(method, priority_zones = nil, options = {}, html_options = {}) public

Wraps ActionView::Helpers::FormOptionsHelper#time_zone_select for form builders:

<%= form_for @user do |f| %>
  <%= f.time_zone_select :time_zone, nil, include_blank: true %>
  <%= f.submit %>
<% end %>

Please refer to the documentation of the base helper for details.

Show source
Register or log in to add new notes.