Hi,
I''m a little confused as to what the right way to setup a variable
number of date/time form fields is.
For instance, I have the following fields which I want to repeat:
<%= date_select("calendar_date", "date") %>
— <%= select_time(Time.now, :prefix => "start") %>
to <%= select_time(Time.now, :prefix => "end") %><br />
...repeated any number of times...
First problem is I need to make this line into an array of date,
start_time, end_times.
Second problem is the select_time helper. Why doesn''t select_time use
a similar api to date_select?
Any ideas?
I was also thinking I''d initially try to get this working without
using ajax. Is this a mistake? Could using javascript make this
easier to handle?