Commit aa01fd12 authored by Mario Manno's avatar Mario Manno Committed by Mario Manno

use datetime_select instead of datetime in views

parent ef0297b7
<div class="nested-fields">
<%= f.inputs do %>
<%= f.input :start_date, :hint => "yyyy-mm-dd hh:mm", :as => :datetime %>
<%= f.input :end_date, :hint => "yyyy-mm-dd hh:mm", :as => :datetime %>
<%= f.input :start_date, :hint => "yyyy-mm-dd hh:mm", :as => :datetime_select %>
<%= f.input :end_date, :hint => "yyyy-mm-dd hh:mm", :as => :datetime_select %>
<%= remove_association_link :day, f %>
<% end %>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment