<%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(User.current), :alt => "用户头像" %>
-
-
- <% if @type == 'HomeworkCommon' %>
+
+ <% if @type == 'HomeworkCommon' %>
<%= form_for('new_form',:url => {:controller => 'words', :action => 'reply_to_homework', :id => reply.id},:method => "post", :remote => true) do |f| %>
>
>
@@ -31,12 +29,11 @@
<% end%>
<% end %>
-
+
+
<% else %>
<%= render :partial => "users/show_unlogged_reply" %>
<% end %>
-
-