<%= javascript_include_tag "/assets/kindeditor/kindeditor", '/assets/kindeditor/pasteimg', "init_activity_KindEditor" %>
课程讨论区
<% if User.current.logged? %> <%= labelled_form_for @message, :url =>{:controller=>'messages',:action => 'new', :board_id => @board.id, :is_board => 'true'}, :html => {:nhname=>'form',:multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'course_new', :locals => {:f => f, :topic => @message, :edit_mode => false, :course => course} %> <% end %> <% end %> <% if topics%> <% topics.each do |topic| %> <% if topic %> <%= render :partial => 'users/course_message', :locals => {:activity => topic, :user_activity_id => topic.id} %> <% end %> <% end %> <% if topics.count == 10 %>
展开更多<%= link_to "", boards_topic_path(@board, :course_id => @board.course.id ,:page => page), :id => "more_topic_link", :remote => "true", :class => "none" %>
<% end %> <% end%>