<%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(@issue.author_id), :alt => "用户头像" %>
<% if User.current.logged? %>
<%= form_for('new_form',:url => add_journal_issue_path(@issue.id),:method => "post", :remote => true) do |f| %>
<%= render :partial => 'attachments/issue_reply', :locals => {:container => @issue} %>
发送
<% end %>
<% else %>
<%= render :partial => "users/show_unlogged" %>
<% end %>