<%= content_for(:header_tags) do %> <%= import_ke(enable_at: false, prettify: false) %> <%= javascript_include_tag "init_activity_KindEditor" %> <% end %>
<%= @user.name%>的博客
<% if User.current.logged? && User.current.id == @user.id %> <%= labelled_form_for @article, :url =>{:controller=>'blog_comments',:action => 'create',:user_id=>user.id , :blog_id => blog.id}, :html => {:nhname=>'form',:multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'blog_comments/new', :locals => {:f => f, :article => @article, :edit_mode => false, :user => @user} %> <% end %> <% end %> <% if topics%> <% topics.each do |topic| %> <% if topic %> <%= render :partial => 'blogs/article', :locals => {:activity => topic, :user_activity_id => topic.id} %> <% end %> <% end %> <%# if topics.count == 10 %> <%# end %> <% end%>