From f2d9d12d52d7fecf4ec5ef228edd9316c65db11f Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Wed, 5 Feb 2020 15:42:06 +0800 Subject: [PATCH] fix field names error --- app/views/admin/activities/_form.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/activities/_form.html.erb b/app/views/admin/activities/_form.html.erb index 068bcad..0d77476 100644 --- a/app/views/admin/activities/_form.html.erb +++ b/app/views/admin/activities/_form.html.erb @@ -98,7 +98,7 @@
- <%= f.datetime_picker :publish_date, :no_label => true,:format=>"yyyy/MM/dd", :placeholder=>"YYYY/MM/DD", :value => @activity.activity_end_date, :new_record => @activity.new_record? %> + <%= f.datetime_picker :activity_start_date, :no_label => true,:format=>"yyyy/MM/dd", :placeholder=>"YYYY/MM/DD", :value => @activity.activity_end_date, :new_record => @activity.new_record? %>
@@ -106,7 +106,7 @@
- <%= f.datetime_picker :publication_date, :no_label => true,:format=>"yyyy/MM/dd", :placeholder=>"YYYY/MM/DD", :value => @activity.activity_end_date, :new_record => @activity.new_record? %> + <%= f.datetime_picker :activity_end_date, :no_label => true,:format=>"yyyy/MM/dd", :placeholder=>"YYYY/MM/DD", :value => @activity.activity_end_date, :new_record => @activity.new_record? %>