<% form_for @booking do |f| %> ... <%= calendar_date_select_tag "datecome", "#{Date.today}", :popup => "force",:year_range => [0.years.ago, 1.years.from_now] %> I just updated to Revision 333 (calendar_date_select) and prototype 1.6.0. Sometime datecome is empty, sometimes it is set. I also tried: <%= calendar_date_select_tag "datecome", "#{Date.today}", :popup => "force", :year_range => [0.years.ago, 1.years.from_now], :name => "[booking][datecome]" %> but this does not work, too. Can somebody 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
That plugin has a good amount of documentation. Have you checked out - http://code.google.com/p/calendardateselect/wiki/Documentation On Dec 29, 6:35 pm, Jochen Kaechelin <figgfro...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> <% form_for @booking do |f| %> > ... > <%= calendar_date_select_tag "datecome", "#{Date.today}", :popup => > "force",:year_range => [0.years.ago, 1.years.from_now] %> > > I just updated to Revision 333 (calendar_date_select) and prototype > 1.6.0. > Sometime datecome is empty, sometimes it is set. > > I also tried: > > <%= calendar_date_select_tag "datecome", "#{Date.today}", :popup => > "force", > :year_range => [0.years.ago, 1.years.from_now], > :name => "[booking][datecome]" %> > > but this does not work, too. > > Can somebody 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Am 30.12.2007 um 01:07 schrieb eggman2001:> > That plugin has a good amount of documentation. Have you checked out - > http://code.google.com/p/calendardateselect/wiki/DocumentationI already read it - without success. I switched to http://code.google.com/p/rails-unobtrusive-date-picker/ ...and it works...it looks much more confortable to me. -- Jochen --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---