<%= f.label :date, column.title, :class => "control-label" %>
<%= f.text_field :date, :value => (date_field.date.strftime("%Y/%m/%d %H:%M") rescue ""), :placeholder => "YYYY/MM/DD HH:MM", :data => {:format => "yyyy/MM/dd hh:mm"} %>
<% if !date_field.new_record? %> <%= f.hidden_field :id %> <% else %> <%= f.hidden_field :table_column_id, :value => column.id %> <% end %>