Date picker separated: reset time when reset date

This commit is contained in:
chris committed 2013-01-09 21:17:50 +08:00
1 parent 1d405c3ffe
commit b49251afee
4 files changed
+36 -7

No files matched your search

+2 -2
View File
@@ -15,8 +15,8 @@
</div>
<h3 class="widget-title"><i class="icons-calendar"></i><%= t(:date_) %></h3>
<div class="widget-content clear">
<%= f.datetime_picker :post_date, :picker_type => 'date', :label => t(:start_date) %>
<%= f.datetime_picker :unpost_date, :picker_type => 'date', :label => t(:end_date) %>
<%= f.datetime_picker :post_date, :picker_type => 'date', :label => t(:start_date), :icon_date => "icons-cross-3 icon-spin" %>
<%= f.datetime_picker :unpost_date, :picker_type => 'separated', :label => t(:end_date) %>
</div>
</div>