fix field names error

This commit is contained in:
EricTYL 2020-02-05 15:42:06 +08:00
parent 3df0ea1464
commit f2d9d12d52
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label muted"><%= t("personal_activity.activity_start_date") %></label> <label class="control-label muted"><%= t("personal_activity.activity_start_date") %></label>
<div class="controls"> <div class="controls">
<%= 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? %>
</div> </div>
</div> </div>
@ -106,7 +106,7 @@
<div class="control-group"> <div class="control-group">
<label class="control-label muted"><%= t("personal_activity.activity_end_date") %></label> <label class="control-label muted"><%= t("personal_activity.activity_end_date") %></label>
<div class="controls"> <div class="controls">
<%= 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? %>
</div> </div>
</div> </div>