I have a date where the year range is more then I want to define in a
select_date scaffold generated year range.

My idea was to have the year entered as a text field and the month and
day using something like:

  <%= select_month @person.born,:prefix => :person ,:field_name =>
"born(2i)" %>
  <%= select_day @person.born,:prefix => :person , :field_name =>
"born(3i)" %>

  <%= f.text_field ?????? or text_field_tag ???????? field_name =>
"born(1i)" %>

I just can't seem to find the set of options to build the year tag.
Guess I also would have to extract the year out of the date for the
value.

Can't seem to find any examples and looking for help.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to