diff --git a/app/views/projects/_course_form.html.erb b/app/views/projects/_course_form.html.erb
index e57371f33..46f3b487c 100644
--- a/app/views/projects/_course_form.html.erb
+++ b/app/views/projects/_course_form.html.erb
@@ -15,8 +15,44 @@
<%= l(:text_length_between, :min => 1, :max => Project::IDENTIFIER_MAX_LENGTH) %> <%= l(:text_project_identifier_info).html_safe %>
<% end %>
-->
-
+
+
<%= f.fields_for @course do |m| %>
+ <% unless @course.nil?%>
+ <%= l(:label_setup_time) %> *
+ <%= text_field_tag :setup_time, @course.setup_time, :placeholder => "在此选择开课日期" %>
+ <%= calendar_for('setup_time')%>
+ |
+ <% else %>
+ <%= l(:label_setup_time) %> *
+ <%= text_field_tag :setup_time, nil, :placeholder => "在此选择开课日期" %>
+ <%= calendar_for('setup_time')%>
+ |
+ <% end %>
+
+ <% unless @course.nil?%>
+ <%= l(:label_endup_time) %> *
+ <%= text_field_tag :endup_time, @course.endup_time, :placeholder => "在此选择结课日期" %>
+ <%= calendar_for('endup_time')%>
+ |
+ <% else %>
+ <%= l(:label_endup_time) %> *
+ <%= text_field_tag :endup_time, nil, :placeholder => "在此选择结课日期" %>
+ <%= calendar_for('endup_time')%>
+ |
+ <% end %>
+
+ <% unless @course.nil?%>
+ <%= l(:label_class_period) %> *
+ <%= text_field_tag :class_period, @course.class_period, :placeholder => "在此输入课时" %> <%= l(:label_class_hour)%>
+ |
+ <% else %>
+ <%= l(:label_class_period) %> *
+ <%= text_field_tag :class_period, nil, :placeholder => "在此输入课时" %><%= l(:label_class_hour)%>
+ |
+ <% end %>
+
+
<% unless @course.nil? %>
|