It looks like it passes any attributes through to the select_date helper which has an option for start_year and end_year (as attributes start-year and end-year respectively). The trick is you need to pass integers via the attributes. Something like <input start-year="&1900" end-year="&2009" />
On Sep 29, 9:22 pm, Spiralis <[email protected]> wrote: > This should have been simple, and it probably is. I have a date-field > in my app. How do I go about to change the default range that the web- > interface present. Basically, it is showing years, months and days. > But, the year range is the rails default which is +/- 5 years from > today. I want it to create options from 1900 and upto this year. How > do I do that? > > Thanks, > Ronny --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
