diff options
Diffstat (limited to 'app/views/pms/show.html.erb')
-rw-r--r-- | app/views/pms/show.html.erb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/views/pms/show.html.erb b/app/views/pms/show.html.erb index 2f3b944..6f81d1b 100644 --- a/app/views/pms/show.html.erb +++ b/app/views/pms/show.html.erb @@ -1,18 +1,16 @@ -<p id="notice"><%= notice %></p> - <p> <strong>Author:</strong> - <%= @pm.author %> + <%# @conversation.last_sender.user_name %> </p> <p> <strong>Recipient:</strong> - <%= @pm.recipient %> + <%#@pm.recipient.user_name %> </p> <p> <strong>Message:</strong> - <%= @pm.message %> + <%# @pm.message %> </p> <p> @@ -25,5 +23,4 @@ <%= @pm.conversation %> </p> -<%= link_to 'Edit', edit_pm_path(@pm) %> | <%= link_to 'Back', pms_path %> |