method

datetime_field

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: ActionView::Helpers::FormBuilder
datetime_field public

Wraps ActionView::Helpers::FormHelper#datetime_field for form builders:

<%= form_with model: @user do |f| %>
  <%= f.datetime_field :graduation_day %>
<% end %>

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

Show source
Register or log in to add new notes.