diff --git a/app/views/admin/announcements/_form.html.erb b/app/views/admin/announcements/_form.html.erb index e252e6d..8c71909 100644 --- a/app/views/admin/announcements/_form.html.erb +++ b/app/views/admin/announcements/_form.html.erb @@ -46,14 +46,14 @@
- <%= f.datetime_picker :postdate, :no_label => true, :new_record => @bulletin.new_record? %> + <%= f.datetime_picker :postdate, :no_label => true, :new_record => @bulletin.new_record?, :data=>{"picker-type" => "range", "range" => "start"} %>
- <%= f.datetime_picker :deadline, :no_label => true, :new_record => @bulletin.new_record? %> + <%= f.datetime_picker :deadline, :no_label => true, :new_record => @bulletin.new_record?,:data=>{"picker-type" => "range", "range" => "end"} %>