<%= link_to 'Back to the Inbox', messages_path %>


<% @messages.each do |message| %>

"> <%= raw("»") if message == @message %> <%= namelink message %>

<%= raw message.text_parsed %>

Sent by: <%= namelink message.sender %> on <%= shortdate message.created_at %>

<%= link_to "Reply", :controller => "messages", :action => "new", :id => message.sender_type, :id2 => message.sender_id, :title => message.title %>

<% end %>

<%= link_to 'Back to the Inbox', messages_path %>