diff --git a/app/views/admin/news/_form.html.erb b/app/views/admin/news/_form.html.erb index d074ef2..976cf05 100644 --- a/app/views/admin/news/_form.html.erb +++ b/app/views/admin/news/_form.html.erb @@ -84,14 +84,14 @@
- <%= f.datetime_picker :postdate, :no_label => true, :new_record => @news_bulletin.new_record? %> + <%= f.datetime_picker :postdate, :no_label => true, :new_record => @news_bulletin.new_record?, :data=>{"picker-type" => "range", "range" => "start"} %>
- <%= f.datetime_picker :deadline, :no_label => true, :new_record => @news_bulletin.new_record? %> + <%= f.datetime_picker :deadline, :no_label => true, :new_record => @news_bulletin.new_record?, :data=>{"picker-type" => "range", "range" => "end"} %>