Displaying 1 result from an estimated 1 matches for "datum_1_twrak_van".
2007 Nov 14
0
Problem time_select with fields_for
...isn''t saving the time in
the db just 00:00:00
All the other fields are fine, but the time_field isn''t working:s
This is my code:
<% form_for :activity, @activity,:url => {:action => "create"} do
|activity_form| %>
<td><%= activity_form.time_select :datum_1_twrak_van, :order =>[ :hour,
:minute ]%></td>
<td><%= activity_form.time_select :datum_1_twrak_tot, :order =>[ :hour,
:minute ],:include_blank => true %></td>
<% fields_for :vervolg, @vervolg do |vervolg_form| %>
<td><%= vervolg_form.time_select :interventi...