Flowdock
method

time_select

Importance_1
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.