2015-10-24 15:34:43 +08:00
|
|
|
<% if User.current.logged? && User.current.id == @user.id %>
|
2016-01-21 16:11:06 +08:00
|
|
|
<%= form_for @article, :url =>{:controller=>'blog_comments',:action => 'update',:user_id=>@user.id , :blog_id => @article.id, :is_homepage => params[:is_homepage],:in_act => params[:in_act]},:method=>'PUT',
|
2015-10-24 15:34:43 +08:00
|
|
|
:html => {:nhname=>'form',:multipart => true, :id => 'message-form'} do |f| %>
|
|
|
|
<%= render :partial => 'blog_comments/edit', :locals => {:f => f, :article => @article, :edit_mode => true, :user => @user} %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|