method

time_select

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

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

<%= form_for @race do |f| %>
  <%= f.time_select :average_lap %>
  <%= f.submit %>
<% end %>

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

Show source
Register or log in to add new notes.