<%= l(:label_course_modify_settings)%>

  • 基本信息
  • 成员
  • 组织
  • 讨论区设置
    <%= labelled_form_for @course do |f| %>
  • <%= render :partial => "avatar/new_avatar_form", :locals => {source: @course} %>
  • <%=@course.syllabus.title %> <%#= select_tag :syllabus_id,options_for_select(course_syllabus_option,@course.syllabus_id), {:id=>"edit_syllabus_id", :class=>"syllabus_input", :style=>'width:210px'} %>
  • <%= select_tag :time,options_for_select(course_time_option(@course.time),@course.time), {:id=>"edit_time"} %> <%= select_tag :term,options_for_select(course_term_option,@course.term || cur_course_term),{:id=>"edit_term"} %>
  • <%= select_tag :end_time,options_for_select(course_time_option(@course.end_time),@course.end_time), {:id=>"edit_end_time"} %> <%= select_tag :end_term,options_for_select(course_term_option,@course.end_term || cur_course_term),{:id=>"edit_end_term"} %>
  • id="course_is_public" name="course[is_public]" type="checkbox"> (选中后对所有用户可见,否则仅对本班级成员可见)
  • id="course_open_student" name="course[open_student]" type="checkbox" style="margin-left: 1px;"/> (选中后对所有用户可见,否则仅对本班级成员可见)
  • id="course_publish_resource" name="course[publish_resource]" type="checkbox" style="margin-left: 1px;"/> (选中后允许学生上传班级资源,否则不允许)
  • 提交 <%= link_to l(:button_cancel), course_path(@course), :class => "grey_btn fl c_white ml10" %>
  • <% end %>
<% if @course.is_delete == 1 %>
<%=link_to "恢复该班级", renew_course_path(@course) %>
<% else %>
<%=link_to "删除该班级", course_path(@course), :method => :delete, :confirm=>"确认要删除该班级吗?" %> (友情提示:删除该班级后如果您想恢复该班级,请联系系统管理员!)
<% end %>
<%= form_tag(search_member_course_path,:id => "course_member_search_form", :method => :get, :class => "search_form_course",:remote => true) do %> <%= text_field_tag 'name', params[:name], :placeholder => "登录名、学号、姓名搜索", :class => "search_text fl" %> <%= l(:label_search)%>
<% end %>
<%= render :partial => "course_members" %>
<%= render :partial => 'courses/settings/join_org' %>
<%= render :partial => 'courses/settings/boards_setting' %>