<% content_for :heading do %>
- <h2><%= raw(t ".send_message_to", :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %></h2>
+ <h2><%= raw(t(".send_message_to", :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient)))) %></h2>
<% end %>
<%= error_messages_for "message" %>
<%= richtext_area :message, :body, :cols => 80, :rows => 20 %>
</div>
<div class='buttons'>
- <%= submit_tag t(".send_button") %>
+ <%= f.submit %>
<%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "deemphasize button" %>
</div>
</fieldset>