Thanks for your reply and for the tutorial. The code is not showing on
the page though.
http://rubyonrailshacks.com/2010/07/how-to-modify-date_select-to-show-text-field-for-year/

Cheers,

Cam


On Jul 31, 12:11 am, Sur Max <[email protected]> wrote:
> Hi,
>
> It is simple, but it's not straight forward.
> You just need to discard the year from select and add the proper name to
> the text field for year.
> You can refer it here for better example with 
> codehttp://rubyonrailshacks.com/2010/07/how-to-modify-date_select-to-show...
>
> regards,
> Surhttp://rubyonrailshacks.com
>
> Cam wrote:
> > Hey all,
>
> > Using date_select in a form, how can I make the Year field a
> > text_field instead of a select? It looks like it will take more than a
> > simple modification of the date_select method.
>
> > Thanks in advance.
>
> > Cam
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to