|
|
|
@ -5,8 +5,8 @@
|
|
|
|
|
<ul id="header-nav">
|
|
|
|
|
<!-- <li class="<%#= params[:controller] == "welcome" ? 'active' : '' %>"><%#= link_to "首页", home_path %></li>-->
|
|
|
|
|
<li class="<%= subjects_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践课程", subjects_path %></li>
|
|
|
|
|
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实训项目", shixuns_path %></li>
|
|
|
|
|
<li class="<%= course_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "教学课堂", "/classrooms" %></li>
|
|
|
|
|
<li class="pr <%= shixuns_controller.include?(params[:controller]) ? " active" : "" %>"><%= link_to "实践项目", shixuns_path %></li>
|
|
|
|
|
|
|
|
|
|
<% careers = Career.published.order("created_at asc") %>
|
|
|
|
|
<% if careers.present? %>
|
|
|
|
|