method

datetime_select

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: FormBuilder
datetime_select(method, options = {}, html_options = {}) public

Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:

<%= form_for @person do |f| %>
  <%= f.datetime_select :last_request_at %>
  <%= f.submit %>
<% end %>

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

Show source
Register or log in to add new notes.