Participants: <% receps = @pm.conversation.participants %> <% receps.each do |recep| %> <% #unless recep == @pm.conversation.last_sender %> <%= recep.user_name %> <%= "," %> <% #end %> <% end %> <%= "and the NSA" %>

Subject: <%= @pm.conversation.subject %>

<% receipts = @pm.conversation.receipts_for current_user %> <% receipts.each do |receipt| %> <% message = receipt.message %>

________________________________________________

<%= message.sender.user_name %> <%= ":" %> <%= message.body %>

<% end %>

________________________________________________

<%= form_for(@pm) do |f| %>

<%= f.text_area :message %>
<%= submit_tag("Reply", :class => "signup") %>
<% end %>

<% @pm.conversation.mark_as_read(current_user) %> <%= link_to 'Back', pms_path %>