%= content_for(:header_tags) do %> <%= import_ke(enable_at: false, prettify: false) %> <%= javascript_include_tag "init_activity_KindEditor" %> <% 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 %>