-<h2><%= t'message.new.send_message_to', :name => link_to(h(@to_user.display_name), {:controller => 'user', :action => 'view', :display_name => @to_user.display_name}) %></h2>
+<% content_for :heading do %>
+ <h2><%= raw(t '.send_message_to', :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %></h2>
+<% end %>
<%= error_messages_for 'message' %>
-<% form_for :message, :url => { :action => "new", :display_name => @to_user.display_name } do |f| %>
- <table>
- <tr valign="top">
- <th><%= t'message.new.subject' %></th>
- <td><%= f.text_field :title, :size => 60, :value => @subject %></td>
- </tr>
- <tr valign="top">
- <th><%= t'message.new.body' %></th>
- <td><%= f.text_area :body, :cols => 80, :value => @body %></td>
- </tr>
- <tr>
- <th></th>
- <td><%= submit_tag t('message.new.send_button') %></td>
- </tr>
- </table>
+<%= form_for :message, :html => { :class => 'standard-form' }, :url => new_message_path(@message.recipient) do |f| %>
+ <fieldset>
+ <div class='form-row'>
+ <label class="standard-label" for="message_title"><%= t '.subject' %></label>
+ <%= f.text_field :title, :size => 60, :class => "richtext_title" %>
+ </div>
+ <div class='form-row'>
+ <label class="standard-label" for="message_body"><%= t '.body' %></label>
+ <%= richtext_area :message, :body, :cols => 80, :rows => 20 %>
+ </div>
+ <div class='buttons'>
+ <%= submit_tag t('.send_button') %>
+ <%= link_to t('.back_to_inbox'), inbox_path(current_user), :class => 'deemphasize button' %>
+ </div>
+ </fieldset>
<% end %>
-
-<br />
-
-<%= link_to t('message.new.back_to_inbox'), :controller => 'message', :action => 'inbox', :display_name => @user.display_name %>