After creating a directory called 12_hour_time_select in my plugins
folder, I added this statement to my view:
<%= select_time(Time.now, :twelve_hour => true) %>
recycled the server. Now when I display the view I get the following
error:
ArgumentError in Vigils#new
Showing app/views/vigils/_form.rhtml where line #13 raised:
wrong number of arguments (6 for 3)
Extracted source (around line #13):
10: <%= text_field ‘vigil’, ‘location’ %>
11:
12:
Start date
13: <%= select_time(Time.now, :twelve_hour => true) %>
Has anyone run into this?
Thanks!
Dave