- <%= form_for('new_form', :url => add_reply_org_document_comment_path(:id => document.id, :act_id => act.id, :flag => flag), :method => "post", :remote => true) do |f| %>
-
-
-
-
发送
+ <% if User.current.logged? %>
+
+ <%= form_for('new_form', :url => add_reply_org_document_comment_path(:id => document.id, :act_id => act.id, :flag => flag), :method => "post", :remote => true) do |f| %>
+
+
+
+
发送
-
-
- <% end %>
-
+
+
+ <% end %>
+
+ <% else %>
+ <%= render :partial => "users/show_unlogged" %>
+ <% end %>