<% comments.each do |comment| %>
<%= link_to user_thumbnail(comment.user), :controller => :user,:action =>:view, :display_name => comment.user.display_name %>
<%= link_to comment.user.display_name, :controller => :user,:action =>:view, :display_name => comment.user.display_name %>
<%= comment.body %> <% if comment.reassign %>
<%= t('issues.show.comments.reassign') %> <% end %>
On <%= l comment.created_at.to_datetime, :format => :friendly %>
<% end %>

<%= form_for :issue_comment, :url => { :action => 'comment', :id => @issue.id, :user_id => current_user.id } do |f| %> <%= richtext_area :issue_comment, :body, :cols => 10, :rows => 8, :required => true %> <%= label_tag t('issues.show.comments.reassign_param') %> <%= check_box_tag :reassign, true %>

<%= submit_tag 'Submit' %> <% end %>