<datepicker-rails>

A date picker, using the date_select helper from Rails

Attributes

  • all the options of date_select are passed to the select_date Rails helper

All the other attributes are passed to the date_select helper as the html-options hash.

The menus default to the current date if the current value is nil.

Examples:

  • override the input for date tag in a form

    <my-special-date-view:> </my-special-date-view:>

  • override the input tag application-wide

Show Source


Edit this page