<%= link_to l(:label_course_new), {:controller => 'courses', :action => 'new'}, :class => 'icon icon-add' %>

未配置班级列表

<%= render 'tab_syllabuses_courses' %>

未配置班级列表

<%= form_tag({}, :method => :get) do %>
<%= text_field_tag 'name', params[:name], :size => 30, :placeholder => '班级、老师名称' %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> <%= link_to l(:button_clear), {:controller => 'admin', :action => 'non_syllabus_courses'}, :class => 'icon icon-reload' %>
<% end %>  
<% @courses.each do |course| %> <% unless course.teacher.nil? %> " id="course_<%=course.id %>"> <% end %> <% end %>
序号 班级 主讲老师 学时 <%=l(:field_is_public)%> 状态 <%=l(:field_created_on)%> 动态时间 课程
<%= course.id %> <%= course.name%> <%= link_to(course.teacher.show_name, user_path(course.teacher)) %> <%= course.class_period %> <%= checked_image course.is_public? %> <%= course.is_delete == 0 ? '正常' : '归档' %> <%= format_date(course.created_at) %> <%= course.updated_at.strftime('%Y-%m-%d %H:%M:%S') %> <%= select_tag :syllabus_id,options_for_select(course_syllabus_option(course.teacher),course.syllabus_id), {:id=>"new_syllabus_id_#{course.id}", :class=>"course_syllabus_input", :onchange=>"select_syllabus(#{course.id});"}%> 新建课程
<% html_title(l(:label_course_all)) -%>