Yeah, it doesn't have anything fancy there for specifying a range.
Though maybe we can make something that would figure out a range from
a validation or other declaration.

Probably isn't worth it though since most times you'd want a more user
friendly solution than a drop down with 100+ entries.

On Sep 30, 5:49 pm, Spiralis <[email protected]> wrote:
> So, I definitively need to extend/redefine the  form for rendering it
> then? I was hoping for some declarative hobo-magic. I think Hobo has
> spoiled me... :)
>
> ~Ronny
>
> On Sep 30, 11:23 pm, kevinpfromnm <[email protected]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to