<%= l(:permission_new_course)%>
<%= labelled_form_for @course do |f| %>
-
<% if @syllabus.nil? %>
<%= select_tag :syllabus_id,options_for_select(course_syllabus_option,@course.syllabus_id), {:id=>"new_syllabus_id", :class=>"syllabus_input"} %>
如果列表中没有对应的课程,请您先<%=link_to '创建课程', new_syllabus_path(),:target => '_blank', :class => 'ml5 green_btn_share c_white'%>
<% else %>
<%=@syllabus.title %>
<% end %>
-
班级名称不能为空且至少有两个字符
-
-
<%= select_tag :time,options_for_select(course_time_option(@course.time),@course.time), {:id=>"new_time"} %>
<%= select_tag :term,options_for_select(course_term_option,@course.term || cur_course_term),{:id=>"new_term"} %>
-
<%= select_tag :end_time,options_for_select(course_time_option(@course.end_time),@course.end_time), {:id=>"new_end_time"} %>
<%= select_tag :end_term,options_for_select(course_term_option,@course.end_term || cur_course_term),{:id=>"new_end_term"} %>
仅针对跨越多个学期的班级,否则与开始学期保持一致。
-
-
(选中后对所有用户可见,否则仅对本班级成员可见)
-
(选中后对所有用户可见,否则仅对本班级成员可见)
-
id="course_publish_resource" name="course[publish_resource]" type="checkbox" />
(选中后允许学生上传班级资源,否则不允许)
-
提交
<%= link_to "取消",user_activities_path(User.current.id),:class => "grey_btn fl c_white ml10"%>
<% end%>