Hello,
Currently I have a date_select in a form partial. This partial is
rendered by the edit and new form-actions.
But the problem is that when I go into the new page and save the form
it automaticly selects the current date. Actually I want that with the
new action the selected date are empty values (:include_blank) and
when Im in the edit form I want him to extract the values from the
data given (if nil > show empty entries).
What is the most elegant approach for this?
Kind regards,
Don Pinkster
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---