date_select(method, options = {}, html_options = {}) public

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

<%= form_for @person do |f| %> <%= f.date_select :birth_date %> <%= f.submit %> <% end %> 

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

Show source
Register or log in to add new notes.