Hi all,

I have problem using select_date. I put it in a form and submit the
form. When the page is loaded, user's selection of the date disappear.

What I want to do is very easy. I want to get the start date and end
date from user ,run the appropriate query and then show the result.
Why does this happen?

my code is like:

<form action="..." method=post>
  Start Date:
  <%= select_date Date.today%>
  <br/>
  End Date:
  <%= select_date Date.today %>
  <br/>
  <div style="display:inline"><%= submit_tag
'Submit',:style=>"height:24px;    font-size:12px" %></div>
  <br/>
</form>

Thanks in advance
-- 
Posted via http://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