<%= content_for(:header_tags) do %> <%= import_ke(enable_at: false, prettify: false) %> <%= javascript_include_tag "create_kindeditor" %> <% end %> <% if newss%> <% newss.each do |news| %> <% if news %> <%= render :partial => 'users/course_news', :locals => {:activity => news, :user_activity_id => news.id} %> <% end %> <% end %> <% if newss.count == 10 %> <%= link_to "点击展开更多",news_index_path(:course_id => @course.id ,:page => page),:id => "show_more_course_news",:remote => "true",:class => "loadMore mt10 f_grey"%> <% end %> <% end%>