1 <h2>Reading your messages</h2>
5 <th align="right">From</th>
6 <td><%= link_to @message.sender.display_name, :controller => 'user', :action => 'view', :display_name => @message.sender.display_name %></td>
9 <th align="right">Subject</th>
10 <td><%= @message.title %></td>
13 <th align="right">Date</th>
14 <td><%= @message.sent_on %></td>
18 <td><%= @message.body %></td>
26 <td><%= button_to 'Reply', :controller => 'message', :action => 'new', :user_id => @message.from_user_id %></td>
27 <td><%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => @message.id, :mark => 'unread' %></td>
28 <td><%= link_to 'Back to inbox', :controller => 'message', :action => 'inbox', :display_name => @user.display_name %></td>